File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import 'theme.dart';
2323// Apple Design Resources(https://developer.apple.com/design/resources/).
2424// However the values are not exactly the same as native, so eyeballing is needed.
2525const TextStyle _kCupertinoDialogTitleStyle = TextStyle (
26- fontFamily: 'CupertinoSystemDisplay ' ,
26+ fontFamily: 'CupertinoSystemText ' ,
2727 inherit: false ,
2828 fontSize: 17.0 ,
2929 fontWeight: FontWeight .w600,
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ void main() {
140140 final DefaultTextStyle widget = tester.widget (find.byType (DefaultTextStyle ));
141141
142142 expect (widget.style.color! .withAlpha (255 ), CupertinoColors .systemGreen.color);
143+ expect (widget.style.fontFamily, 'CupertinoSystemText' );
143144 });
144145
145146 testWidgets ('Dialog dark theme' , (WidgetTester tester) async {
You can’t perform that action at this time.
0 commit comments