add toot titles to missing packages
This commit is contained in:
@@ -23,6 +23,7 @@ class _MihAuthenticationState extends State<MihAuthentication> {
|
||||
appActionButton: getAction(),
|
||||
appTools: getTools(),
|
||||
appBody: getToolBody(),
|
||||
appToolTitles: getToolTitle(),
|
||||
selectedbodyIndex: context.watch<MihAuthenticationProvider>().toolIndex,
|
||||
onIndexChange: (newIndex) {
|
||||
context.read<MihAuthenticationProvider>().setToolIndex(newIndex);
|
||||
@@ -35,6 +36,14 @@ class _MihAuthenticationState extends State<MihAuthentication> {
|
||||
return toolBodies;
|
||||
}
|
||||
|
||||
List<String> getToolTitle() {
|
||||
List<String> toolTitles = [
|
||||
"Sign In",
|
||||
"Create an Account",
|
||||
];
|
||||
return toolTitles;
|
||||
}
|
||||
|
||||
MihPackageTools getTools() {
|
||||
Map<Widget, void Function()?> temp = {};
|
||||
temp[const Icon(Icons.perm_identity)] = () {
|
||||
|
||||
Reference in New Issue
Block a user