diff --git a/examples/flutter_gallery/lib/demo/pesto_demo.dart b/examples/flutter_gallery/lib/demo/pesto_demo.dart index c0bbcd395e..a0f49a2ed9 100644 --- a/examples/flutter_gallery/lib/demo/pesto_demo.dart +++ b/examples/flutter_gallery/lib/demo/pesto_demo.dart @@ -98,7 +98,11 @@ class _RecipeGridPageState extends State { drawer: buildDrawer(context), floatingActionButton: new FloatingActionButton( child: new Icon(Icons.edit), - onPressed: () { } + onPressed: () { + scaffoldKey.currentState.showSnackBar(new SnackBar( + content: new Text('Not supported.') + )); + } ), body: buildBody(context, statusBarHeight) )