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

Side by Side 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, 9 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 unified diff | Download patch
« no previous file with comments | « sky/examples/fn/widgets/widgets.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library stocksapp; 1 library stocksapp;
2 2
3 import '../fn/lib/fn.dart'; 3 import '../fn/lib/fn.dart';
4 import '../fn/widgets/widgets.dart'; 4 import '../fn/widgets/widgets.dart';
5 import 'dart:collection'; 5 import 'dart:collection';
6 import 'dart:math'; 6 import 'dart:math';
7 import 'dart:sky' as sky; 7 import 'dart:sky' as sky;
8 8
9 part 'companylist.dart'; 9 part 'companylist.dart';
10 part 'stockarrow.dart'; 10 part 'stockarrow.dart';
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 ), 85 ),
86 new Icon(key: 'search', style: _iconStyle, 86 new Icon(key: 'search', style: _iconStyle,
87 size: 24, 87 size: 24,
88 type: 'action/search_white'), 88 type: 'action/search_white'),
89 new Icon(key: 'more_white', style: _iconStyle, 89 new Icon(key: 'more_white', style: _iconStyle,
90 size: 24, 90 size: 24,
91 type: 'navigation/more_vert_white') 91 type: 'navigation/more_vert_white')
92 ] 92 ]
93 ); 93 );
94 94
95 var fab = new FloatingActionButton(content: new Text('+'));
96
95 return new Container( 97 return new Container(
96 key: 'StocksApp', 98 key: 'StocksApp',
97 style: _style, 99 children: [
98 children: [drawer, toolbar, new Stocklist(stocks: oracle.stocks)] 100 new Container(
101 key: 'Content',
102 style: _style,
103 children: [toolbar, new Stocklist(stocks: oracle.stocks)]
104 ),
105 fab,
106 drawer,
107 ]
99 ); 108 );
100 } 109 }
101 } 110 }
OLDNEW
« 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