Merge pull request #2967 from flutter/dialog

Fix fullscreen dialog gallery example
This commit is contained in:
Hans Muller
2016-03-29 09:11:13 -07:00

View File

@@ -189,7 +189,7 @@ class DialogDemoState extends State<DialogDemo> {
new RaisedButton(
child: new Text('FULLSCREEN'),
onPressed: () {
Navigator.push(context, new MaterialPageRoute<Null>(
Navigator.push(context, new MaterialPageRoute<DismissDialogAction>(
builder: (BuildContext context) => new FullScreenDialogDemo()
));
}