add toot titles to missing packages
This commit is contained in:
parent
d51d13a685
commit
4a293c0aa4
7 changed files with 17 additions and 6 deletions
|
|
@ -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)] = () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue