Jonah Williams 419fef3f8b
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
2018-03-05 15:59:18 -08:00
..
2017-09-28 17:37:25 -07:00
2017-10-23 11:05:23 -07:00
2017-09-07 16:57:38 -07:00
2017-09-07 16:57:38 -07:00
2017-09-07 16:57:38 -07:00
2018-02-02 08:06:42 +01:00
2017-09-07 16:57:38 -07:00
2017-09-07 16:57:38 -07:00
2017-09-07 16:57:38 -07:00
2017-09-07 16:57:38 -07:00
2017-09-07 16:57:38 -07:00
2017-09-07 16:57:38 -07:00