fix warnings
This commit is contained in:
parent
9f7f680d4e
commit
a48b722468
|
@ -33,7 +33,8 @@ var demoFunctionHandler = new Handler(
|
||||||
String message = params["message"]?.first;
|
String message = params["message"]?.first;
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
child: new AlertDialog(
|
builder: (context) {
|
||||||
|
return new AlertDialog(
|
||||||
title: new Text(
|
title: new Text(
|
||||||
"Hey Hey!",
|
"Hey Hey!",
|
||||||
style: new TextStyle(
|
style: new TextStyle(
|
||||||
|
@ -54,7 +55,8 @@ var demoFunctionHandler = new Handler(
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
);
|
||||||
|
},
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -70,5 +72,5 @@ var deepLinkHandler = new Handler(handlerFunc: (BuildContext context, Map<String
|
||||||
if (colorHex != null && colorHex.length > 0) {
|
if (colorHex != null && colorHex.length > 0) {
|
||||||
color = new Color(ColorHelpers.fromHexString(colorHex));
|
color = new Color(ColorHelpers.fromHexString(colorHex));
|
||||||
}
|
}
|
||||||
return new DemoSimpleComponent(message: "DEEEEEP LINK!!!", color: color, result: result);
|
return new DemoSimpleComponent(message: message, color: color, result: result);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue