diff --git a/lib/screens/login_screen.dart b/lib/screens/login_screen.dart index f3523db..061a450 100644 --- a/lib/screens/login_screen.dart +++ b/lib/screens/login_screen.dart @@ -74,13 +74,11 @@ class _LoginScreenState extends State { SizedBox( height: 70.0, ), - Flexible( - child: Hero( - tag: 'logo', - child: Container( - height: 100.0, - child: Image.asset('images/logo.png'), - ), + Hero( + tag: 'logo', + child: Container( + height: 100.0, + child: Image.asset('images/logo.png'), ), ), SizedBox( diff --git a/lib/screens/registration_screen.dart b/lib/screens/registration_screen.dart index a3301ba..1097b8e 100644 --- a/lib/screens/registration_screen.dart +++ b/lib/screens/registration_screen.dart @@ -79,13 +79,11 @@ class _RegistrationScreenState extends State { SizedBox( height: 20.0, ), - Flexible( - child: Hero( - tag: 'logo', - child: Container( - height: 100.0, - child: Image.asset('images/logo.png'), - ), + Hero( + tag: 'logo', + child: Container( + height: 100.0, + child: Image.asset('images/logo.png'), ), ), SizedBox(