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