1 | initial version |
The pushAndRemoveUntil method in the Go router for Flutter has the following options:
MaterialPageRoute: This is the default page route used by Flutter. It provides a basic layout for pushing and removing pages.
CupertinoPageRoute: This is an alternative page route for iOS devices. It provides a layout that matches the iOS design language.
CustomPageRoute: This is a custom-built page route that allows developers to create their own page transitions and animations.
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.
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.
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.
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.