add title to Mzansi Wallet
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user