File tree 4 files changed +4
-4
lines changed
packages/diagrams/lib/src 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class ContainerDiagram extends StatelessWidget implements DiagramMetadata {
46
46
child: Text ('Hello World' ,
47
47
style: Theme .of (context)
48
48
.textTheme
49
- .headline4 !
49
+ .headlineMedium !
50
50
.copyWith (color: Colors .white)),
51
51
),
52
52
),
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ class TranslateSampleTile extends StatelessWidget {
264
264
Text (
265
265
name,
266
266
textAlign: TextAlign .center,
267
- style: Theme .of (context).textTheme.bodyText1 ! .copyWith (
267
+ style: Theme .of (context).textTheme.bodyLarge ! .copyWith (
268
268
color: Colors .black,
269
269
fontSize: 12.0 ,
270
270
),
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ class AnimatedDefaultTextStyleDiagram
133
133
@override
134
134
Widget buildImplicitAnimation (BuildContext context, bool selected) {
135
135
final TextStyle selectedStyle =
136
- Theme .of (context).textTheme.headline4 ! .copyWith (
136
+ Theme .of (context).textTheme.headlineMedium ! .copyWith (
137
137
color: Colors .red,
138
138
fontSize: 50.0 ,
139
139
fontWeight: FontWeight .w100,
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ class ThemeDataDiagram extends StatelessWidget implements DiagramMetadata {
68
68
secondary: Colors .green,
69
69
),
70
70
textTheme: const TextTheme (
71
- bodyText2 : TextStyle (color: Colors .purple)),
71
+ bodyMedium : TextStyle (color: Colors .purple)),
72
72
),
73
73
home: Stack (
74
74
children: < Widget > [
You can’t perform that action at this time.
0 commit comments