add title to Mzansi Wallet
This commit is contained in:
parent
ec4739b229
commit
80d7ae1cba
3 changed files with 11 additions and 39 deletions
|
|
@ -36,6 +36,7 @@ class _MihWalletState extends State<MihWallet> {
|
|||
appActionButton: getAction(),
|
||||
appTools: getTools(),
|
||||
appBody: getToolBody(),
|
||||
appToolTitles: getToolTitle(),
|
||||
selectedbodyIndex: _selcetedIndex,
|
||||
onIndexChange: (newValue) {
|
||||
setState(() {
|
||||
|
|
@ -87,4 +88,12 @@ class _MihWalletState extends State<MihWallet> {
|
|||
];
|
||||
return toolBodies;
|
||||
}
|
||||
|
||||
List<String> getToolTitle() {
|
||||
List<String> toolTitles = [
|
||||
"Cards",
|
||||
"Favourites",
|
||||
];
|
||||
return toolTitles;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue