switch wallet icons
This commit is contained in:
parent
835dbbb826
commit
78d35a672e
1 changed files with 5 additions and 5 deletions
|
|
@ -59,16 +59,16 @@ class _MihWalletState extends State<MihWallet> {
|
||||||
|
|
||||||
MihAppTools getTools() {
|
MihAppTools getTools() {
|
||||||
Map<Widget, void Function()?> temp = {};
|
Map<Widget, void Function()?> temp = {};
|
||||||
temp[const Icon(Icons.favorite)] = () {
|
|
||||||
setState(() {
|
|
||||||
_selcetedIndex = 0;
|
|
||||||
});
|
|
||||||
};
|
|
||||||
temp[const Icon(Icons.card_membership)] = () {
|
temp[const Icon(Icons.card_membership)] = () {
|
||||||
setState(() {
|
setState(() {
|
||||||
_selcetedIndex = 1;
|
_selcetedIndex = 1;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
temp[const Icon(Icons.favorite)] = () {
|
||||||
|
setState(() {
|
||||||
|
_selcetedIndex = 0;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
return MihAppTools(
|
return MihAppTools(
|
||||||
tools: temp,
|
tools: temp,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue