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

Side by Side Diff: sky/examples/fn/widgets/item.dart

Issue 987463002: Move fn.dart into /sky/framework (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/lib/style.dart ('k') | sky/examples/fn/widgets/widgets.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library item; 1 library item;
2 2
3 import '../../../framework/fn.dart';
3 import 'dart:sky' as sky; 4 import 'dart:sky' as sky;
4 import 'fn.dart';
5 import 'widgets.dart'; 5 import 'widgets.dart';
6 6
7 enum Color { RED, GREEN } 7 enum Color { RED, GREEN }
8 8
9 class Item extends Component { 9 class Item extends Component {
10 10
11 String label; 11 String label;
12 12
13 Color _color = Color.GREEN; 13 Color _color = Color.GREEN;
14 14
(...skipping 17 matching lines...) Expand all
32 ] 32 ]
33 ); 33 );
34 } 34 }
35 35
36 void changed(Object value) { 36 void changed(Object value) {
37 setState(() { 37 setState(() {
38 _color = value; 38 _color = value;
39 }); 39 });
40 } 40 }
41 } 41 }
OLDNEW
« no previous file with comments | « sky/examples/fn/lib/style.dart ('k') | sky/examples/fn/widgets/widgets.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698