add tool title to MIH Home

This commit is contained in:
2025-05-29 14:51:59 +02:00
parent 4c4f2f5e28
commit 17e24782ac
3 changed files with 9 additions and 96 deletions

View File

@@ -72,12 +72,21 @@ class _MihHomeState extends State<MihHome> {
}
}
List<String> getToolTitle() {
List<String> toolTitles = [
"Personal",
"Business",
];
return toolTitles;
}
@override
Widget build(BuildContext context) {
return MihPackage(
appActionButton: getAction(),
appTools: getTools(),
appBody: getToolBody(),
appToolTitles: getToolTitle(),
actionDrawer: getActionDrawer(),
selectedbodyIndex: _selcetedIndex,
onIndexChange: (newValue) {