CustomNavigationBarItem.wallet constructor

CustomNavigationBarItem.wallet({
  1. Key? key,
  2. double balance = 0,
})

Constructs a CustomNavigationBarItem for a HomeTab.wallet.

Implementation

CustomNavigationBarItem.wallet({Key? key, double balance = 0})
  : this._(
      key: key,
      tab: HomeTab.wallet,
      child: WalletIcon(key: Key('WalletButton'), balance: balance),
    );