From 04fb1cda0acfa038f01201455ea8fd3595c82e15 Mon Sep 17 00:00:00 2001 From: redevRx Date: Mon, 8 Feb 2021 10:06:47 +0700 Subject: [PATCH] call success but not alert with sound --- lib/Login/screen/login_page.dart | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/lib/Login/screen/login_page.dart b/lib/Login/screen/login_page.dart index 9bcbe39b..e8a3406e 100644 --- a/lib/Login/screen/login_page.dart +++ b/lib/Login/screen/login_page.dart @@ -230,7 +230,8 @@ class loginScreen extends StatelessWidget { SizedBox( height: 16.0, ), - Padding( + Container( + width: double.infinity, padding: const EdgeInsets.symmetric(horizontal: 100.0), child: Row( children: [ @@ -238,22 +239,30 @@ class loginScreen extends StatelessWidget { onTap: () => loginBloc.add(onLoginWithGoogle()), child: Container( width: 42.0, + height: 42.0, padding: const EdgeInsets.all(4.0), child: ClipRRect( - child: Image.asset("assets/icons/google.png"), + child: Image.asset( + "assets/icons/google.png", + ), )), ), SizedBox( width: 32.0, ), - InkWell( - // onTap: () => loginBloc.add(onLoginWithFacebook()), - child: Container( - width: 42.0, - padding: const EdgeInsets.all(4.0), - child: ClipRRect( - child: Image.asset("assets/icons/facebook.png"), - )), + Expanded( + child: InkWell( + // onTap: () => loginBloc.add(onLoginWithFacebook()), + child: Container( + width: 42.0, + height: 42.0, + padding: const EdgeInsets.all(4.0), + child: ClipRRect( + child: Image.asset( + "assets/icons/facebook.png", + ), + )), + ), ), ], ),