mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
fix CakePay icon (#546)
This commit is contained in:
parent
9b4fc8f608
commit
c7ea9d52ee
1 changed files with 9 additions and 8 deletions
|
@ -318,15 +318,16 @@ class _TrailingIcon extends StatelessWidget {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Container(
|
return Material(
|
||||||
alignment: Alignment.centerRight,
|
color: Colors.transparent,
|
||||||
width: 25,
|
child: IconButton(
|
||||||
child: TextButton(
|
padding: EdgeInsets.zero,
|
||||||
//highlightColor: Colors.transparent,
|
constraints: BoxConstraints(),
|
||||||
//splashColor: Colors.transparent,
|
highlightColor: Colors.transparent,
|
||||||
//padding: EdgeInsets.all(0),
|
splashColor: Colors.transparent,
|
||||||
|
iconSize: 25,
|
||||||
onPressed: onPressed,
|
onPressed: onPressed,
|
||||||
child: Image.asset(
|
icon: Image.asset(
|
||||||
asset,
|
asset,
|
||||||
color: Theme.of(context).accentTextTheme!.headline2!.backgroundColor!,
|
color: Theme.of(context).accentTextTheme!.headline2!.backgroundColor!,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue