fix warnings
This commit is contained in:
parent
9f7f680d4e
commit
a48b722468
|
@ -33,7 +33,8 @@ var demoFunctionHandler = new Handler(
|
|||
String message = params["message"]?.first;
|
||||
showDialog(
|
||||
context: context,
|
||||
child: new AlertDialog(
|
||||
builder: (context) {
|
||||
return new AlertDialog(
|
||||
title: new Text(
|
||||
"Hey Hey!",
|
||||
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) {
|
||||
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