Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Unified Diff: sky/examples/stocks2/lib/stock_app.dart

Issue 1156383004: Add the floating action button to stocks2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/painting/Size.dart ('k') | sky/sdk/lib/framework/components2/floating_action_button.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks2/lib/stock_app.dart
diff --git a/sky/examples/stocks2/lib/stock_app.dart b/sky/examples/stocks2/lib/stock_app.dart
index 26f44a094fa1bde56e57b2856c6aef3cc34787f3..12d8ad8088c22b92d2cedced9fef036f705f007f 100644
--- a/sky/examples/stocks2/lib/stock_app.dart
+++ b/sky/examples/stocks2/lib/stock_app.dart
@@ -5,8 +5,8 @@
import 'package:sky/framework/components2/tool_bar.dart';
import 'package:sky/framework/components2/drawer.dart';
// import 'package:sky/framework/components2/drawer_header.dart';
-// import 'package:sky/framework/components2/floating_action_button.dart';
-// import 'package:sky/framework/components2/icon.dart';
+import 'package:sky/framework/components2/floating_action_button.dart';
+import 'package:sky/framework/components2/icon.dart';
import 'package:sky/framework/components2/icon_button.dart';
import 'package:sky/framework/components2/menu_divider.dart';
import 'package:sky/framework/components2/menu_item.dart';
@@ -203,9 +203,9 @@ class StocksApp extends App {
new Scaffold(
toolbar: _isSearching ? buildSearchBar() : buildToolBar(),
body: new Stocklist(stocks: _stocks, query: _searchQuery),
- // floatingActionButton: new FloatingActionButton(
- // content: new Icon(type: 'content/add_white', size: 24),
- // level: 3),
+ floatingActionButton: new FloatingActionButton(
+ content: new Icon(type: 'content/add_white', size: 24),
+ level: 3),
drawer: _drawerShowing ? buildDrawer() : null
),
];
« no previous file with comments | « sky/engine/core/painting/Size.dart ('k') | sky/sdk/lib/framework/components2/floating_action_button.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698