commit | 867f5d35ce7af5303a892306609e885f320d02e9 | [log] [tgz] |
---|---|---|
author | Alex Fandrianto <alexfandrianto@google.com> | Tue Sep 08 17:07:01 2015 -0700 |
committer | Alex Fandrianto <alexfandrianto@google.com> | Tue Sep 08 17:09:38 2015 -0700 |
tree | a24b6e8d9578d787730cdc00d4c1e1427195ecb7 | |
parent | e3564d82f84a788b7810127bbfd779ad6af911ca [diff] |
croupier: Fix warning about dealCards I had forgotten to cast the game as a HeartsGame. Change-Id: Id40fb9077f15c9e79139e13d43edef3af53d7637
diff --git a/lib/components/game.dart b/lib/components/game.dart index e677ff0..3753a75 100644 --- a/lib/components/game.dart +++ b/lib/components/game.dart
@@ -320,6 +320,8 @@ } Widget showDeal() { + HeartsGame game = this.game as HeartsGame; + return new Container( decoration: new BoxDecoration(backgroundColor: colors.Pink[500]), child: new Flex([