Flutter Fast, Flutter Far — Issue #4

Hey! Don’t go there! An intro to Route Guards in Flutter

Navigation in a mobile app is a bit more involved than pushing a route here and popping a route there. Some routes should only be viewed by a user who is authenticated while others are available to the public. Some routes will only behave and display properly if the user has an active internet connection while others show static assets that never change.

Is it possible to verify these requirements are met before loading each new route? With Route Guards, anything is possible.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store