Navigate through RouterService [Web] #1014
Unanswered
arithmic-satya
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @arithmic-satya , can I see your @StackedApp annotations ? Did you set |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm creating a static website of 3 pages. I'm using Stacked here. My approaches have been like below so far;
I have a MainLayoutView whose NavBar() and Footer() are constants and in between only the body will be returned with their respective page's navigation.
MainLayoutViewModel is there and associated with NavBar() and Footer() for listening to the active and inactive index or any kind of other business logic.
Three pages have their own ViewModels associated with them.
Calling MainLayoutview() in main.dart file's MaterialApp.router()'s builder property to become a wrapper of NavBar() and Footer() for all those pages.
-- HomeView --
Likewise, same the two other pages are.
-- MainLayoutView --
-- main.dart --
I'm getting the below error no matter tried putting SizedBox() with height, but no help. Need your urgent help on this if there is anything wrong here or need another approach or anything. I'm stuck here for 3 days.
Error :
Beta Was this translation helpful? Give feedback.
All reactions