Side Menu itens not working.
Opened this issue · 14 comments
I was following the tutorial to the best i could, but i cant make the side menu itens work
this is my repo link, please halp
https://github.com/ClicknetTelecom/flutter-web-course-2021-flutter-dashboard
I believe I had the same problem as you. I looked at the Santos repository and noticed that in the file "large_screen.dart", inside expanded's child, it is necessary to put the "SideMenu()", so it worked.
Hello, have you faces a problem about the
key.currentState.openDrawer() ;
The Error disappear when I add ! or ? on currentState, but the side menu won't appear and only the logo pops out, have you faces this problem sir?
Hello, sorry for the delay.
No, I don't face this problem, could you send me your complete code?
I'm having a problem with the sidebar aswell could you help me look at my code?
Another exception was thrown: type 'String' is not a 'bool' in boolean expression
here is my repo link
https://github.com/hostusservices/flutter_dashboard.git
please help me urjently
Hello @hostusservices!
In menu_controller.dart file in isActive and isHovering methods, you are using "=" but should use "==" as below:
isActive(String itemName) => activeItem.value == itemName;
isHovering(String itemName) => hoverItem.value == itemName;
Replacing the "=" with "==" will work.
And in the layout.dart file, inside the Drawer(), it should be as follows:
drawer: Drawer(
child: SideMenu(),
),
Hope this helps.
Hugs.
That's great =D
https://github.com/vedantsinh/amin_panel
side menu error!!!
https://github.com/vedantsinh/amin_panel
侧边菜单错误!!!
all onTap in project change Function to VoidCallback,it work for me
I have the same issue please can anyone help me,