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 ce4c630881
commit b222bfd52e

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