fix warnings

This commit is contained in:
Luke 2018-04-05 14:09:47 -07:00
parent 9f7f680d4e
commit a48b722468
1 changed files with 23 additions and 21 deletions

View File

@ -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);
});