loading...

Managing Named Routes in Flutter with Extensions

pr1 profile image Prince Srivastava ・1 min read

We can use Named Routing with flutter in an efficient way with extension methods.
Alt Text

With these extension methods we have less chances to committing any error or typo.
Alt Text
And in MyApp widget use it accordingly.

With Navigator.pushNamed(); we can use it in the following way --
Alt Text

Discussion

markdown guide