From 3cfea0577df12b14854defd4572361eca3bca897 Mon Sep 17 00:00:00 2001 From: Kyohei Ito Date: Fri, 19 Nov 2021 01:03:11 +0900 Subject: [PATCH 1/2] Change text style --- examples/simple_example/simple_app/lib/bar/bar.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simple_example/simple_app/lib/bar/bar.dart b/examples/simple_example/simple_app/lib/bar/bar.dart index bb991e5..a014bd1 100644 --- a/examples/simple_example/simple_app/lib/bar/bar.dart +++ b/examples/simple_example/simple_app/lib/bar/bar.dart @@ -17,7 +17,7 @@ class BarWidget extends StatelessWidget { children: [ Icon(Icons.star), SizedBox(width: 16), - Text(text, style: Theme.of(context).textTheme.headline5) + Text(text, style: Theme.of(context).textTheme.headline4) ], ), ); From c7677ce43fc50146a9a1eae313373f93dfebaf95 Mon Sep 17 00:00:00 2001 From: Kyohei Ito Date: Fri, 19 Nov 2021 16:38:12 +0900 Subject: [PATCH 2/2] Change alignment --- examples/simple_example/simple_app/lib/bar/bar.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/simple_example/simple_app/lib/bar/bar.dart b/examples/simple_example/simple_app/lib/bar/bar.dart index a014bd1..d335359 100644 --- a/examples/simple_example/simple_app/lib/bar/bar.dart +++ b/examples/simple_example/simple_app/lib/bar/bar.dart @@ -12,12 +12,12 @@ class BarWidget extends StatelessWidget { return Container( color: Colors.amberAccent, child: Row( - mainAxisAlignment: MainAxisAlignment.center, + mainAxisAlignment: MainAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.center, children: [ Icon(Icons.star), SizedBox(width: 16), - Text(text, style: Theme.of(context).textTheme.headline4) + Text(text, style: Theme.of(context).textTheme.headline5) ], ), );