gg_router 3.1.0 copy "gg_router: ^3.1.0" to clipboard
gg_router: ^3.1.0 copied to clipboard

Create nested routes. Sync app state and browser URL. Navigate absolutely and relatively. Animate route transitions. Save and restore state. Manage URI query parameters.

Change Log #

3.1.0 - March, 21st, 2023 #

  • Performance improvements for animations
  • GgNavigationPage: Allow to overwrite back and close button

3.0.2 - February, 23rd, 2023 #

  • Breaking change: GgNavigationPageRoot takes a GgNavigationPage instead of pageContent, children and semanticLabels.
  • Breaking change: Renamed visibleRoute -> stagedDescendants
  • Hand these parameters over to GgNavigationPage constructor.
  • Use showBackButton constructor parameter of GgNavigation to show or hide back button.
  • Fix an issue with updating the route tree
  • Add onShow, onNavigateToParent, onNavigateToChild to GgNavigationPage
  • Add showCloseButton to GgNavigationPage
  • Handle over size for popover routes
  • Fix nameOfChildAnimatingOut was null when popover was closed.
  • Add a bunch of animations

2.0.0 - January 22nd, 2022 #

  • Background color of NavigationBar can be null to allow clicks going widgets behind
  • Added parseJson(...)
  • Added typedef GgNavigationPageBuilder
  • Simplified widget structure
  • Use GgShowInForeground to define which widgets should be shown in the foreground: a) the widget animated in or b) the widget animated out.
  • Added GgNavigationPage to create deeply nested navigation pages similar to CupertinoPageScaffold and CupertinoNavigationBar.
  • Breaking changes:
    • Animation callbacks are provided with the size of the enclosing widget

1.2.1 - January 22nd, 2022 #

  • Upgraded dependencies
  • Removed warnings
  • Works on Flutter 2.10

1.2.0 - June 29th, 2021 #

  • Introduced GgRouteChangeBuilder
  • Allow to set semantics label for a given route
  • Allow to specify semantic labels for a given route path
  • Store semantic label into JSON

1.1.0 - March 24th, 2021 #

  • Fixed issues with disposing the route tree
  • Renamed GgRouteTreeNode:child into GgRouteTreeNode:findOrCreateChild
  • Reintroduced GgRouteTreeNode:child
  • Refined handling when a root and a default path is submitted to GgRouterDelegate.
  • GgRouterDelegate can take a pre-configured root node, which helps the route tree be managed outside the widget hierarchy.
  • GgRouteTreeNode.newRoot was introduced to create root nodes.

1.0.1 - March 20th, 2021 #

  • Fixed a bug braking semantic labels

1.0.0 - March 19th, 2021 #

  • Added the option to define wild card routes using '*' as route name.

1.0.0-beta.5 - March 18th, 2021 #

  • Animations

    • Route transitions can be animated now.
    • Create a separate in and out animation
    • Create different animations for different routes
  • GgPopoverRoute

    • was renamed in GgPopoverRoute
    • Interface was changed slightly
  • Index routes

    • Index routes must not be named with empty name.
    • They must get the name `INDEX.
  • Renamed several identifiers.

1.0.0-beta.4 - March 13th, 2021 #

  • Save and restore route tree

1.0.0-beta.3 - March 11th, 2021 #

  • Added an index route example

1.0.0-beta.2 - March 10th, 2021 #

  • Fixed the unit tests for the example.

1.0.0-beta.1 - March 10th, 2021 #

  • The first public version of GgRouter.
7
likes
0
points
95
downloads

Publisher

verified publisherinlavigo.com

Weekly Downloads

Create nested routes. Sync app state and browser URL. Navigate absolutely and relatively. Animate route transitions. Save and restore state. Manage URI query parameters.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, gg_once_per_cycle, gg_value

More

Packages that depend on gg_router