Check that State.initState and State.didUpdateWidget don't return Futures (#15183)
* add a debug check that the returned Type of State.initState and State.didUpdateWidget are not Futures * add test to verify that async lifecycles throw FlutterErrors * address some feedback, match implementation of setState check * address feedback from hixie * fix odd spacing in test
Showing
Please register or sign in to comment