gg_router library
Classes
- GgAnimation
- GgFadeIn
- Fade widget in
- GgFadeOut
- Fade widget out
- GgMoveInFromBottom
- Move widget in from bottom
- GgMoveInFromBottomLeft
- Move widget in from bottom left
- GgMoveInFromBottomRight
- Move widget in from bottom right
- GgMoveInFromLeft
- Move widget in from left
- GgMoveInFromRight
- Move widget out from right
- GgMoveInFromTop
- Move widget in from top
- GgMoveInFromTopLeft
- Move widget in from top left
- GgMoveInFromTopRight
- Move widget in from top right
- GgMoveOutToBottom
- Move widget out to bottom
- GgMoveOutToBottomLeft
- Move widget out to bottom left
- GgMoveOutToBottomRight
- Move widget out to bottom right
- GgMoveOutToLeft
- Move widget out to left
- GgMoveOutToRight
- Move widget out from right
- GgMoveOutToTop
- Move widget out to top
- GgMoveOutToTopLeft
- Move widget out to top left
- GgMoveOutToTopRight
- Move widget out to top right
- Allows you to create a widget with a navigation bar at the top and a content widget below.
- GgPopoverRoute
- Use GgPopoverRoute to show a selected route infront of an backgroundWidget.
- GgPopoverRouteState
- GgRouteChangeBuilder
- GgRouteInformationParser
- This GgRouteInformationParser needed when initializing a Router or a MaterialApp.router instance.
-
GgRouteParam<
T> - A single route parameter.
- GgRouteParams
- Use this widget to insert a list of route parameters into the currently visible route.
- GgRouter
- Use GgRouter to connect your widget hierarchy with a nested route tree.
- GgRouterCore
- GgRouterDelegate
- This RouterDelegate applies changes of the route tree to the application's URI and applies the application's URI to the route tree. Assign an instance of this delegate to a Router's or MaterialApp's routerDelegate.
- GgRouterState
- GgRouteTreeNode
- GgRouteTreeNode represents a node in a route tree.
- GgShowInForeground
- During animation, wrap widgets into GgShowInForeground to have a widget shown on the top
Functions
-
exampleRouteNode(
{String? name, GgRouteTreeNode? parent}) → GgRouteTreeNode - Creates an lite route sample node.
Typedefs
- GgAnimationBuilder = Widget Function(BuildContext context, Animation animation, Widget child, Size size)
- A callback GgRouter uses to animate appearing and disappearing widgets.
Exceptions / Errors
- GgRouteTreeNodeError
- An error that is reported when a URI cannot be assigned to a route path