Issue Can you please help me with a solution to a problem that I am facing using go_router package in my flutter application. Sample code: import ‘package:flutter/material.dart’; import ‘package:go_router/go_router.dart’; final _router = GoRouter( initialLocation: ‘/’, routes: [ GoRoute( path: ‘/’,
Continue readingTag: flutter-navigation
Popping Navigation Stack with android back button
Issue I am trying to navigate backwards in my flutter app using the android back button, the issue being that I can’t pop the navigation and pass data like the traditional pop method. I have been able to do this
Continue readingUsing navigation routes with flutter through different dart files
Issue I’m new to Flutter/Dart and to programming as a whole. I’m fiddling around and trying to create a simple app for my golf club, just to have a ‘mission’. At the moment I am really struggling to construct navigation
Continue readingHow to handle deep links with Navigation 1.0 in a Flutter?
Issue I am currently using Navigation 1.0 and want to add deep links within the current navigation setup. I am aware that it is simple to add deep links with Navigation 2.0 using packages like go_router. However, I want to
Continue readingProper way of using a splashscreen with `go_router` package
Issue I display a splash screen when the user open the app and in the meantime the it loads some data. When it finish I want to show a page based on that data. What is the proper way of
Continue readingPassing Data between Two Pages Without Navigating to it
Issue I’m trying to pass data to a new flutter page, except I do not want to navigate to the view where the information is being sent when I click the blue button. I’m using this code below, but on
Continue readingPassing Data between Two Pages Without Navigating to it
Issue I’m trying to pass data to a new flutter page, except I do not want to navigate to the view where the information is being sent when I click the blue button. I’m using this code below, but on
Continue readingone Drawer for all screens in flutter web
Issue i’m new to flutter and I want to create a web app with drawer and couple of screens. here is my main function and root of apps ui: void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget {
Continue readingFlutter Widgets lifecycle (Navigation)
Issue How is a Widget’s lifecycle affected by navigation changes? When is a Widget destroyed, rebuilt, etc. regarding both Stateless and Statefull Widget? All information I found is about Statefull Widget’s lifecycle, but nothing relating it to navigation and Stateless
Continue readingFlutter context error after multiple pops on dialogs
Issue I have a function called from a button in one of my menu pages that builds an AlertDialog passing a context. The dialog contains a button that calls a function (called testFunction) that: first disposes the current dialog using
Continue reading