Uncontroversial and backwards compatible 2.0 SDK fixes (#13723)
Small code changes as part of moving the framework SDK forward to a 2.0 dev version.
This commit is contained in:
@@ -18,7 +18,7 @@ class _FlavorState extends State<Flavor> {
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
const MethodChannel('flavor').invokeMethod('getFlavor').then((String flavor) {
|
||||
const MethodChannel('flavor').invokeMethod('getFlavor').then((Object flavor) {
|
||||
setState(() {
|
||||
_flavor = flavor;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user