modular_navigation 0.0.16 copy "modular_navigation: ^0.0.16" to clipboard
modular_navigation: ^0.0.16 copied to clipboard

outdated

Modular Navigation

[0.0.16] - August 23rd, 2021 #

  • Enable equality operations on most objects.
  • Enable create, createLink, and navigate on routes and refactor example to use these to navigate strongly without breaking the tree of requirements. This uses the createPage function internally so that when using code injection there is a single place for creating the pages.

[0.0.14] - August 20th, 2021 #

  • Improve the overrrideInitialRoute function by removing futures because of https://github.com/flutter/flutter/issues/71106
  • Add ModularLink and update extension methods to match the various different ways you can navigate.
  • Added createLink to the Root module to allow easy creation of module links for lazy navigation
  • Changed how SubModules are created to better handle pathing for matching everywhere

[0.0.5] #

  • Add OptionalIdPageParameters for when a route can be used for a new item or to view an existing item.

[0.0.4] #

  • Add Route Guards that allow things like LOGIN to function automatically. These can be added to both the module level and the specific route level. If added to both they will be called in module then route order.
  • Routes now require the module to be passed to them so that they have information about where they came from.
  • Example updated to show sub module route guard with rudamentary login. Note that guards can be asynchronous.
  • navigateTo was made a FutureOr
  • navigateToUri was added to allow redirecting to full uris that have been serialized.

[0.0.2] #

  • Major overhaul with breaking changes that drastically simplifies the interface for everything
  • Updates the example with a fully working cases

[0.0.1] #

  • Initial Release