Since it came out, the Navigator 2.0 API has been controversial. Many complained about its complicity and verbosity. This changes today with the introduction of a flutter package: vrouter

This article is up to date with VRouter ≥1.1

VRouter basics

VRouter is the widget handling the routing of your app. All you have to do is define the routes parameter to create your different routes:

  • routes is a list of VRouteElement
  • VWidget is a VRouteElement mapping a path to a widget .

Navigate

Navigation is the other side of the coin. …


This article is part of a series aiming at making you a master of Navigator 2.0 while showing you that it is not as hard as people think. The other articles of this series are:


This article is part of a series aiming at making you a master of Navigator 2.0 while showing you that it is not as hard as people think. The other articles of this series are:


This article is part of a series aiming at making you a master of Navigator 2.0 while showing you that it is not as hard as people think. The other articles of this series are:


This article is part of a series aiming at making you a master of Navigator 2.0 while showing you that it is not as hard as people think. The other articles of this series are:


This article is part of a series aiming at making you a master of Navigator 2.0 while showing you that it is not as hard as people think. The other articles of this series are:


This article is part of a series aiming at making you a master of Navigator 2.0 while showing you that it is not as hard as people think. The other articles of this series are:


This article is part of a series aiming at making you a master of Navigator 2.0 while showing you that it is not as hard as people think. The other articles of this series are:

Lulupointu

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