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

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: 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
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

Powered by Google App Engine
This is Rietveld 408576698