From 9caf12257f3e3bdc1032bc4cd3b5e20f49e71a2a Mon Sep 17 00:00:00 2001 From: Alabhya Date: Sat, 9 Jan 2021 02:06:43 +0530 Subject: [PATCH] Replaced deprecated property with new one (#640) --- form_app/lib/src/sign_in_http.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/form_app/lib/src/sign_in_http.dart b/form_app/lib/src/sign_in_http.dart index 0cdc2b7f7..1cd66bcee 100644 --- a/form_app/lib/src/sign_in_http.dart +++ b/form_app/lib/src/sign_in_http.dart @@ -110,7 +110,7 @@ class _SignInHttpDemoState extends State { void _showDialog(String message) { showDialog( context: context, - child: AlertDialog( + builder: (context) => AlertDialog( title: Text(message), actions: [ FlatButton(