Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The pushAndRemoveUntil method in the Go router for Flutter has the following options:

  1. MaterialPageRoute: This is the default page route used by Flutter. It provides a basic layout for pushing and removing pages.

  2. CupertinoPageRoute: This is an alternative page route for iOS devices. It provides a layout that matches the iOS design language.

  3. CustomPageRoute: This is a custom-built page route that allows developers to create their own page transitions and animations.

  4. WebRoute: This is a special page route for web-based applications. It provides a layout that matches web design language and is optimized for desktop and mobile devices.

  5. NestedRoute: This is a special page route that allows developers to nest pages within pages. This is useful for creating complex applications with multiple levels of navigation.

  6. PopAndPushRoute: This is a method that allows developers to remove the current page and push a new one onto the stack. This is useful for creating custom navigation flows.

  7. ReplaceRoute: This is a method that allows developers to replace the current page with a new one. This is useful for creating custom navigation flows that don't require the default page transition.