mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
CAKE-147 | changed back button image to arrow_back_ios icon with size 24; changed size of leading to 37 (base page)
This commit is contained in:
parent
b17e7744c6
commit
c729f86ac8
1 changed files with 4 additions and 3 deletions
|
@ -48,14 +48,15 @@ abstract class BasePage extends StatelessWidget {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
final _backButton = Image.asset('assets/images/back_arrow.png',
|
final _backButton = Icon(Icons.arrow_back_ios,
|
||||||
color: titleColor ?? Theme.of(context).primaryTextTheme.title.color);
|
color: titleColor ?? Theme.of(context).primaryTextTheme.title.color,
|
||||||
|
size: 24,);
|
||||||
final _closeButton =
|
final _closeButton =
|
||||||
isDarkTheme ? _closeButtonImageDarkTheme : _closeButtonImage;
|
isDarkTheme ? _closeButtonImageDarkTheme : _closeButtonImage;
|
||||||
|
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
height: 37,
|
height: 37,
|
||||||
width: isModalBackButton ? 37 : 20,
|
width: 37,
|
||||||
child: ButtonTheme(
|
child: ButtonTheme(
|
||||||
minWidth: double.minPositive,
|
minWidth: double.minPositive,
|
||||||
child: FlatButton(
|
child: FlatButton(
|
||||||
|
|
Loading…
Reference in a new issue