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

Side by Side Diff: samples/third_party/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
OLDNEW
(Empty)
1 part of ppw;
2
3 class SquareState {
4 static const SquareState hidden = const SquareState._internal("hidden");
5 static const SquareState revealed = const SquareState._internal("revealed");
6 static const SquareState flagged = const SquareState._internal("flagged");
7 static const SquareState bomb = const SquareState._internal("bomb");
8 static const SquareState safe = const SquareState._internal('safe');
9 final String name;
10
11 const SquareState._internal(this.name);
12
13 String toString() => 'SquareState: $name';
14 }
OLDNEW
« no previous file with comments | « samples/third_party/pop-pop-win/lib/src/poppopwin/game_state.dart ('k') | samples/third_party/pop-pop-win/license.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698