Out of curiosity I ran the Flutter demo app after 2.12. I am pretty sure it built without errors the first time I tried since the app worked fine on the emulator. However when I tried to build a day later I get -
lib/main.dart:36:19: Error: The parameter 'key' can't have a value of 'null' because of its type 'Key', but the implicit default value is 'null'. and a similar error with this.title. Making key nullable and this.title required solves the problem but 1) am I the only one getting this error, and 2) is there any risk of a Null value in the Demo or is the error message an error? Thanks
-
Try adding either an explicit non-'null' default value or the 'required' modifier.
MyHomePage({Key key, this.title}) : super(key: key);