@@ -37,24 +37,31 @@ class _CupertinoGalleryAppState extends State<CupertinoGalleryApp> {
3737 @override
3838 Widget build (BuildContext context) {
3939 final baseTheme = CupertinoThemeData (
40- brightness:
41- _themeMode == ThemeMode .dark ? Brightness .dark : Brightness .light,
40+ brightness: _themeMode == ThemeMode .dark
41+ ? Brightness .dark
42+ : Brightness .light,
4243 );
4344 final textTheme = baseTheme.textTheme.copyWith (
44- textStyle:
45- baseTheme.textTheme.textStyle.copyWith (fontSize: 14 * _textSize),
46- actionTextStyle: baseTheme.textTheme.actionTextStyle
47- .copyWith (fontSize: 14 * _textSize),
48- tabLabelTextStyle: baseTheme.textTheme.tabLabelTextStyle
49- .copyWith (fontSize: 10 * _textSize),
50- navTitleTextStyle: baseTheme.textTheme.navTitleTextStyle
51- .copyWith (fontSize: 17 * _textSize),
45+ textStyle: baseTheme.textTheme.textStyle.copyWith (
46+ fontSize: 14 * _textSize,
47+ ),
48+ actionTextStyle: baseTheme.textTheme.actionTextStyle.copyWith (
49+ fontSize: 14 * _textSize,
50+ ),
51+ tabLabelTextStyle: baseTheme.textTheme.tabLabelTextStyle.copyWith (
52+ fontSize: 10 * _textSize,
53+ ),
54+ navTitleTextStyle: baseTheme.textTheme.navTitleTextStyle.copyWith (
55+ fontSize: 17 * _textSize,
56+ ),
5257 navLargeTitleTextStyle: baseTheme.textTheme.navLargeTitleTextStyle
5358 .copyWith (fontSize: 34 * _textSize),
54- navActionTextStyle: baseTheme.textTheme.navActionTextStyle
55- .copyWith (fontSize: 17 * _textSize),
56- pickerTextStyle: baseTheme.textTheme.pickerTextStyle
57- .copyWith (fontSize: 21 * _textSize),
59+ navActionTextStyle: baseTheme.textTheme.navActionTextStyle.copyWith (
60+ fontSize: 17 * _textSize,
61+ ),
62+ pickerTextStyle: baseTheme.textTheme.pickerTextStyle.copyWith (
63+ fontSize: 21 * _textSize,
64+ ),
5865 dateTimePickerTextStyle: baseTheme.textTheme.dateTimePickerTextStyle
5966 .copyWith (fontSize: 21 * _textSize),
6067 );
0 commit comments