add title to Access Controlls

This commit is contained in:
2025-05-29 15:31:23 +02:00
parent e79179e28d
commit 87777d5435
2 changed files with 9 additions and 9 deletions

View File

@@ -24,6 +24,7 @@ class _MihAccessState extends State<MihAccess> {
appActionButton: getAction(), appActionButton: getAction(),
appTools: getTools(), appTools: getTools(),
appBody: getToolBody(), appBody: getToolBody(),
appToolTitles: getToolTitle(),
selectedbodyIndex: _selcetedIndex, selectedbodyIndex: _selcetedIndex,
onIndexChange: (newValue) { onIndexChange: (newValue) {
setState(() { setState(() {
@@ -66,4 +67,11 @@ class _MihAccessState extends State<MihAccess> {
]; ];
return toolBodies; return toolBodies;
} }
List<String> getToolTitle() {
List<String> toolTitles = [
"Access",
];
return toolTitles;
}
} }

View File

@@ -131,14 +131,6 @@ class _MihAccessRequestState extends State<MihAccessRequest> {
return MihSingleChildScroll( return MihSingleChildScroll(
child: Column( child: Column(
children: [ children: [
const Text(
"Access List",
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 25,
),
),
const SizedBox(height: 10),
Row( Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
mainAxisSize: MainAxisSize.max, mainAxisSize: MainAxisSize.max,
@@ -245,7 +237,7 @@ class _MihAccessRequestState extends State<MihAccessRequest> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return MihPackageToolBody( return MihPackageToolBody(
borderOn: true, borderOn: false,
bodyItem: getBody(), bodyItem: getBody(),
); );
} }