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

Unified Diff: sky/examples/stocks-fn/stocksapp.dart

Issue 975913002: Implement a floating action button in fn (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/examples/fn/widgets/widgets.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks-fn/stocksapp.dart
diff --git a/sky/examples/stocks-fn/stocksapp.dart b/sky/examples/stocks-fn/stocksapp.dart
index c9ec0359ab567e028929cfe9d8aa6553a66ede16..9bb0638b647f84898dca7caa5cbca0b118180baa 100644
--- a/sky/examples/stocks-fn/stocksapp.dart
+++ b/sky/examples/stocks-fn/stocksapp.dart
@@ -92,10 +92,19 @@ class StocksApp extends App {
]
);
+ var fab = new FloatingActionButton(content: new Text('+'));
+
return new Container(
key: 'StocksApp',
- style: _style,
- children: [drawer, toolbar, new Stocklist(stocks: oracle.stocks)]
+ children: [
+ new Container(
+ key: 'Content',
+ style: _style,
+ children: [toolbar, new Stocklist(stocks: oracle.stocks)]
+ ),
+ fab,
+ drawer,
+ ]
);
}
}
« no previous file with comments | « sky/examples/fn/widgets/widgets.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698