Merge pull request #1409 from abarth/rm_init_state_arg

Remove BuildContext argument to initState
This commit is contained in:
Adam Barth 2015-09-30 13:21:13 -07:00
commit d8dcbbf44e

View File

@ -54,8 +54,8 @@ class MineDiggerState extends State<MineDigger> {
// |uiState| keeps track of the visible player progess.
List<List<CellState>> uiState;
void initState(BuildContext context) {
super.initState(context);
void initState() {
super.initState();
resetGame();
}