Issue I am working on an app and id like to ask if anyone can help me to understand how using routes I can navigate from my current screen to another page based on the previous page I navigated from.
Continue readingTag: materialpageroute
The argument type 'Route Function(RouteSettings)' can't be assigned to the parameter type 'List<Route> Function(String)?
Issue class RoutesGenerator { static Route<dynamic> generateRoutes( RouteSettings settings) { switch(settings.name!) { case ‘/’: return MaterialPageRoute(builder: (_) => const HomePage()); case ‘/add_employee’: return MaterialPageRoute(builder: (_) => const AddEmployee()); default: return _errorRoute(); } } static Route<dynamic> _errorRoute(){ return MaterialPageRoute(builder: (_) {
Continue readingFlutter Modal Bottom Sheet with Navigator does not pop as expected
Issue I a working with ModalBottomSheet and I love the package. However I am encountering an issue when trying to navigate with in a ModalBottomSheet. Here is a ScreenVideo for a better understanding. As you can see the View is
Continue readingFlutter – Multi Page Navigation using bottom navigation bar icons
Issue I’m trying to navigate to different pages within my app using the icons in my bottom navigation bar. I have tried many tutorials and can’t seem to work out the best way to achieve this. I have created my
Continue readingFlutter – Multi Page Navigation using bottom navigation bar icons
Issue I’m trying to navigate to different pages within my app using the icons in my bottom navigation bar. I have tried many tutorials and can’t seem to work out the best way to achieve this. I have created my
Continue readingFlutter Modal Bottom Sheet with Navigator does not pop as expected
Issue I a working with ModalBottomSheet and I love the package. However I am encountering an issue when trying to navigate with in a ModalBottomSheet. Here is a ScreenVideo for a better understanding. As you can see the View is
Continue readingwhy can't the widget finder in my integration test find a widget after my test successfully signs into my flutter app?
Issue I am trying to write some integration tests that start off with a login attempt then proceeds to navigate the app a bit to a certain page. The attempt to sign in actually succeeds but after that my attempts
Continue readingI want to Navigate to another page and parse with firestore data but how do I do that when I am using MaterialPageRoute?
Issue I want to navigate from Products Page to a ProductDetail page but I am using data directly from firebase firestore. What do I put in the MaterialPageRoute as the arguments? I am also using StreamBuilder to get data snapshot
Continue reading