diff --git a/examples/material_gallery/lib/demo/dialog_demo.dart b/examples/material_gallery/lib/demo/dialog_demo.dart index ad067117c5..8c141b1dae 100644 --- a/examples/material_gallery/lib/demo/dialog_demo.dart +++ b/examples/material_gallery/lib/demo/dialog_demo.dart @@ -189,7 +189,7 @@ class DialogDemoState extends State { new RaisedButton( child: new Text('FULLSCREEN'), onPressed: () { - Navigator.push(context, new MaterialPageRoute( + Navigator.push(context, new MaterialPageRoute( builder: (BuildContext context) => new FullScreenDialogDemo() )); }