From fb10af7ce557d1a8c56d7759fc142d585e1407b7 Mon Sep 17 00:00:00 2001 From: bgrgv <46672514+bgrgv@users.noreply.github.com> Date: Wed, 27 Mar 2019 01:57:34 +0530 Subject: [PATCH] Fixed double values in line 48 and 53. In lines 48 and 53, int values were given instead of double. Fixed those by adding decimal points. --- lib/login_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/login_page.dart b/lib/login_page.dart index 2786dc8..e79df8b 100644 --- a/lib/login_page.dart +++ b/lib/login_page.dart @@ -45,12 +45,12 @@ class _LoginPageState extends State { padding: EdgeInsets.symmetric(vertical: 16.0), child: RaisedButton( shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(24), + borderRadius: BorderRadius.circular(24.0), ), onPressed: () { Navigator.of(context).pushNamed(HomePage.tag); }, - padding: EdgeInsets.all(12), + padding: EdgeInsets.all(12.0), color: Colors.lightBlueAccent, child: Text('Log In', style: TextStyle(color: Colors.white)), ),