add title to Mzansi Profile
This commit is contained in:
@@ -26,6 +26,7 @@ class _MzansiProfileState extends State<MzansiProfile> {
|
|||||||
appActionButton: getAction(),
|
appActionButton: getAction(),
|
||||||
appTools: getTools(),
|
appTools: getTools(),
|
||||||
appBody: getToolBody(),
|
appBody: getToolBody(),
|
||||||
|
appToolTitles: getToolTitle(),
|
||||||
selectedbodyIndex: _selcetedIndex,
|
selectedbodyIndex: _selcetedIndex,
|
||||||
onIndexChange: (newValue) {
|
onIndexChange: (newValue) {
|
||||||
setState(() {
|
setState(() {
|
||||||
@@ -74,4 +75,12 @@ class _MzansiProfileState extends State<MzansiProfile> {
|
|||||||
));
|
));
|
||||||
return toolBodies;
|
return toolBodies;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
List<String> getToolTitle() {
|
||||||
|
List<String> toolTitles = [
|
||||||
|
"Profile",
|
||||||
|
"Settings",
|
||||||
|
];
|
||||||
|
return toolTitles;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user