mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #1409 from abarth/rm_init_state_arg
Remove BuildContext argument to initState
This commit is contained in:
commit
d8dcbbf44e
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user