File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class MyApp extends StatelessWidget {
20
20
primarySwatch: Colors .blue,
21
21
scaffoldBackgroundColor: Colors .white24,
22
22
primaryTextTheme: TextTheme (
23
- title : TextStyle (color: Colors .blue),
23
+ headline6 : TextStyle (color: Colors .blue),
24
24
),
25
25
),
26
26
home: HomePage (),
@@ -46,14 +46,14 @@ class HomePage extends StatelessWidget {
46
46
onPressed: () => context.pushNamed (Routes .form),
47
47
child: Text (
48
48
'Form Example' ,
49
- style: context.primaryTextTheme.title ,
49
+ style: context.primaryTextTheme.headline6 ,
50
50
),
51
51
),
52
52
MaterialButton (
53
53
onPressed: () => context.pushNamed (Routes .focusScope),
54
54
child: Text (
55
55
'Focus Scope Example' ,
56
- style: context.primaryTextTheme.title ,
56
+ style: context.primaryTextTheme.headline6 ,
57
57
),
58
58
),
59
59
],
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class FocusScopePage extends StatelessWidget {
19
19
decoration: InputDecoration (
20
20
border: OutlineInputBorder (),
21
21
hintText: 'Click away from me...' ,
22
- hintStyle: context.primaryTextTheme.subhead !
22
+ hintStyle: context.primaryTextTheme.subtitle1 !
23
23
.copyWith (color: context.primaryColor),
24
24
),
25
25
),
You can’t perform that action at this time.
0 commit comments