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

Side by Side Diff: samples/pop_pop_win/lib/src/poppopwin/square_state.dart

Issue 200723008: samples/poppopwin: upgrade to first-class sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixed pkgbuild.status for rename Created 6 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 | Annotate | Revision Log
« no previous file with comments | « samples/pop_pop_win/lib/src/poppopwin/game_state.dart ('k') | samples/pop_pop_win/pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 part of ppw; 1 part of ppw;
2 2
3 class SquareState { 3 class SquareState {
4 static const SquareState hidden = const SquareState._internal("hidden"); 4 static const SquareState hidden = const SquareState._internal("hidden");
5 static const SquareState revealed = const SquareState._internal("revealed"); 5 static const SquareState revealed = const SquareState._internal("revealed");
6 static const SquareState flagged = const SquareState._internal("flagged"); 6 static const SquareState flagged = const SquareState._internal("flagged");
7 static const SquareState bomb = const SquareState._internal("bomb"); 7 static const SquareState bomb = const SquareState._internal("bomb");
8 static const SquareState safe = const SquareState._internal('safe'); 8 static const SquareState safe = const SquareState._internal('safe');
9 final String name; 9 final String name;
10 10
11 const SquareState._internal(this.name); 11 const SquareState._internal(this.name);
12 12
13 String toString() => 'SquareState: $name'; 13 String toString() => 'SquareState: $name';
14 } 14 }
OLDNEW
« no previous file with comments | « samples/pop_pop_win/lib/src/poppopwin/game_state.dart ('k') | samples/pop_pop_win/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698