diff --git a/examples/flutter_gallery/lib/demo/shrine/shrine_page.dart b/examples/flutter_gallery/lib/demo/shrine/shrine_page.dart index d6c401860af..b3761ea2f42 100644 --- a/examples/flutter_gallery/lib/demo/shrine/shrine_page.dart +++ b/examples/flutter_gallery/lib/demo/shrine/shrine_page.dart @@ -101,9 +101,8 @@ class ShrinePageState extends State { ) ) ), - title: new Center( - child: new Text('SHRINE', style: ShrineTheme.of(context).appBarTitleStyle) - ), + title: new Text('SHRINE', style: ShrineTheme.of(context).appBarTitleStyle), + centerTitle: true, actions: [ new IconButton( icon: const Icon(Icons.shopping_cart),