Remove BuildContext argument to initState

This argument isn't needed anymore now that State has a getter for context.
This commit is contained in:
Adam Barth
2015-09-30 13:15:46 -07:00
parent 01f7c8460f
commit 347bd25cb4
31 changed files with 62 additions and 70 deletions

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();
}