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';
23
23
// Apple Design Resources(https://developer.apple.com/design/resources/).
24
24
// However the values are not exactly the same as native, so eyeballing is needed.
25
25
const TextStyle _kCupertinoDialogTitleStyle = TextStyle (
26
- fontFamily: 'CupertinoSystemDisplay ' ,
26
+ fontFamily: 'CupertinoSystemText ' ,
27
27
inherit: false ,
28
28
fontSize: 17.0 ,
29
29
fontWeight: FontWeight .w600,
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ void main() {
140
140
final DefaultTextStyle widget = tester.widget (find.byType (DefaultTextStyle ));
141
141
142
142
expect (widget.style.color! .withAlpha (255 ), CupertinoColors .systemGreen.color);
143
+ expect (widget.style.fontFamily, 'CupertinoSystemText' );
143
144
});
144
145
145
146
testWidgets ('Dialog dark theme' , (WidgetTester tester) async {
You can’t perform that action at this time.
0 commit comments