switch wallet icons
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user