Merge pull request #140 from cake-tech/CAKE-147-make-back-button-bigger

Cake 147 make back button bigger
This commit is contained in:
M 2020-11-12 21:48:17 +02:00
commit 381d559ea6

View file

@ -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: 16,);
final _closeButton =
isDarkTheme ? _closeButtonImageDarkTheme : _closeButtonImage;
return SizedBox(
height: 37,
width: isModalBackButton ? 37 : 20,
width: 37,
child: ButtonTheme(
minWidth: double.minPositive,
child: FlatButton(