Commit a003d171 authored by Hans Muller's avatar Hans Muller

Merge pull request #2967 from flutter/dialog

Fix fullscreen dialog gallery example
parents d5deea49 5a49c688
...@@ -189,7 +189,7 @@ class DialogDemoState extends State<DialogDemo> { ...@@ -189,7 +189,7 @@ class DialogDemoState extends State<DialogDemo> {
new RaisedButton( new RaisedButton(
child: new Text('FULLSCREEN'), child: new Text('FULLSCREEN'),
onPressed: () { onPressed: () {
Navigator.push(context, new MaterialPageRoute<Null>( Navigator.push(context, new MaterialPageRoute<DismissDialogAction>(
builder: (BuildContext context) => new FullScreenDialogDemo() builder: (BuildContext context) => new FullScreenDialogDemo()
)); ));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment