File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
packages/diagrams/lib/src Expand file tree Collapse file tree 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 {
4646 child: Text ('Hello World' ,
4747 style: Theme .of (context)
4848 .textTheme
49- .headline4 !
49+ .headlineMedium !
5050 .copyWith (color: Colors .white)),
5151 ),
5252 ),
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ class TranslateSampleTile extends StatelessWidget {
264264 Text (
265265 name,
266266 textAlign: TextAlign .center,
267- style: Theme .of (context).textTheme.bodyText1 ! .copyWith (
267+ style: Theme .of (context).textTheme.bodyLarge ! .copyWith (
268268 color: Colors .black,
269269 fontSize: 12.0 ,
270270 ),
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ class AnimatedDefaultTextStyleDiagram
133133 @override
134134 Widget buildImplicitAnimation (BuildContext context, bool selected) {
135135 final TextStyle selectedStyle =
136- Theme .of (context).textTheme.headline4 ! .copyWith (
136+ Theme .of (context).textTheme.headlineMedium ! .copyWith (
137137 color: Colors .red,
138138 fontSize: 50.0 ,
139139 fontWeight: FontWeight .w100,
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ class ThemeDataDiagram extends StatelessWidget implements DiagramMetadata {
6868 secondary: Colors .green,
6969 ),
7070 textTheme: const TextTheme (
71- bodyText2 : TextStyle (color: Colors .purple)),
71+ bodyMedium : TextStyle (color: Colors .purple)),
7272 ),
7373 home: Stack (
7474 children: < Widget > [
You can’t perform that action at this time.
0 commit comments