You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lance Johnstone edited this page Jan 10, 2023
·
1 revision
Flutter platform widgets have a number of widgets and utility functions for combining the Material and Cupertino routing paradigms.
Platform page route
Material and Cupertino routing animates differently so in order to use flutter's Navigator in order to push new routes onto the stack the correct page route needs to be used. This is typically used with the original Navigator method.
When using the declarative style of navigation routing, specficially when using PlatformApp.router you can wrap you page level widgets with PlatformPage so they can be added to the list of pages for the router.