diff --git a/examples/material_gallery/lib/demo/buttons_demo.dart b/examples/material_gallery/lib/demo/buttons_demo.dart index e1b7fa320c..1cceda7c7a 100644 --- a/examples/material_gallery/lib/demo/buttons_demo.dart +++ b/examples/material_gallery/lib/demo/buttons_demo.dart @@ -77,6 +77,7 @@ class _ButtonsDemoState extends State { height: 128.0, child: new Center( child: new FloatingActionButton( + tooltip: 'Open FAB demos', child: new Icon(icon: 'content/add'), onPressed: () { Navigator.push(context, new MaterialPageRoute( diff --git a/examples/material_gallery/lib/demo/tabs_fab_demo.dart b/examples/material_gallery/lib/demo/tabs_fab_demo.dart index 6fba81268d..9c4f0a34bf 100644 --- a/examples/material_gallery/lib/demo/tabs_fab_demo.dart +++ b/examples/material_gallery/lib/demo/tabs_fab_demo.dart @@ -102,6 +102,7 @@ class _TabsFabDemoState extends State { ), floatingActionButton: !selectedPage.fabDefined ? null : new FloatingActionButton( key: selectedPage.fabKey, + tooltip: 'Show explanation', backgroundColor: selectedPage.fabColor, child: selectedPage.fabIcon, onPressed: _showExplanatoryText diff --git a/examples/stocks/lib/stock_home.dart b/examples/stocks/lib/stock_home.dart index d76e3b1af9..a5a23ff164 100644 --- a/examples/stocks/lib/stock_home.dart +++ b/examples/stocks/lib/stock_home.dart @@ -272,6 +272,7 @@ class StockHomeState extends State { Widget buildFloatingActionButton() { return new FloatingActionButton( + tooltip: 'Create company', child: new Icon(icon: 'content/add'), backgroundColor: Colors.redAccent[200], onPressed: _handleCreateCompany diff --git a/examples/widgets/http_post.dart b/examples/widgets/http_post.dart index ebbd0b1330..a6b5f21ab2 100644 --- a/examples/widgets/http_post.dart +++ b/examples/widgets/http_post.dart @@ -62,6 +62,7 @@ class PostDemoState extends State { ) ), floatingActionButton: new FloatingActionButton( + tooltip: 'Refresh', child: new Icon( icon: 'navigation/refresh' ),