From c729f86ac8521c00da799c51dcbbccb42c92d0ee Mon Sep 17 00:00:00 2001 From: OleksandrSobol Date: Mon, 9 Nov 2020 17:01:58 +0200 Subject: [PATCH 1/2] CAKE-147 | changed back button image to arrow_back_ios icon with size 24; changed size of leading to 37 (base page) --- lib/src/screens/base_page.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/src/screens/base_page.dart b/lib/src/screens/base_page.dart index 440de962b..2b4ccf6c7 100644 --- a/lib/src/screens/base_page.dart +++ b/lib/src/screens/base_page.dart @@ -48,14 +48,15 @@ abstract class BasePage extends StatelessWidget { return null; } - final _backButton = Image.asset('assets/images/back_arrow.png', - color: titleColor ?? Theme.of(context).primaryTextTheme.title.color); + final _backButton = Icon(Icons.arrow_back_ios, + color: titleColor ?? Theme.of(context).primaryTextTheme.title.color, + size: 24,); final _closeButton = isDarkTheme ? _closeButtonImageDarkTheme : _closeButtonImage; return SizedBox( height: 37, - width: isModalBackButton ? 37 : 20, + width: 37, child: ButtonTheme( minWidth: double.minPositive, child: FlatButton( From c18fb9e31bcc932b025877929b1844d538ab0e98 Mon Sep 17 00:00:00 2001 From: OleksandrSobol Date: Wed, 11 Nov 2020 20:52:46 +0200 Subject: [PATCH 2/2] CAKE-147 | changed size of arrow_back_ios icon from 24 to 16 --- lib/src/screens/base_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/screens/base_page.dart b/lib/src/screens/base_page.dart index 2b4ccf6c7..a5bbde783 100644 --- a/lib/src/screens/base_page.dart +++ b/lib/src/screens/base_page.dart @@ -50,7 +50,7 @@ abstract class BasePage extends StatelessWidget { final _backButton = Icon(Icons.arrow_back_ios, color: titleColor ?? Theme.of(context).primaryTextTheme.title.color, - size: 24,); + size: 16,); final _closeButton = isDarkTheme ? _closeButtonImageDarkTheme : _closeButtonImage;