octopus library
Classes
- Nested navigation widget that manages a stack of pages.
- InheritedOctopusRoute
- InheritedOctopusRoute widget.
- IOctopusGuard
- Guard for the router.
-
NoAnimationPage<
T> - Page for OctopusRoute.defaultPageBuilder that does not animate when pushed or popped.
- NoAnimationScope
- NoAnimationInherited widget. Disables animations for all Navigators below it.
-
NoAnimationTransitionDelegate<
T> - A TransitionDelegate for Navigator that does not animate when pushing.
- Octopus
-
The main class of the package.
Router configuration is provided by the
routes
parameter. - OctopusDelegate
- Octopus delegate.
- OctopusGuard
- Guard for the router.
- OctopusHistoryEntry
- Octopus history entry.
- Octopus navigator widget.
- OctopusNode
- Node of the router state tree
- OctopusNode$Immutable
- Node of the router state tree
- OctopusNode$Mutable
- Node of the router state tree
- OctopusNodeBase
- Base class for all nodes and states.
- OctopusRouteContext
- Octopus route context.
- OctopusState
- Router whole application state
- OctopusState$Immutable
- Router whole application state
- OctopusState$Mutable
- Router whole application state
- OctopusStateObserver
- Octopus state observer.
- OctopusTools
- Display the Octopus tools widget. Helpful for router debugging.
Enums
- OctopusStateIntention
- OctopusState$Mutable intention to change and update state at both application and platform.
Mixins
- OctopusRoute
- Interface for all routes.
Extensions
- OctopusBuildContextExtension on BuildContext
- Extension methods for BuildContext.
Typedefs
-
ConditionalNodeVisitor<
Node extends OctopusNode> = bool Function(Node node) - Signature for the callback to OctopusNode.visitChildNodes.
-
DefaultOctopusPageBuilder
= Page<
Object?> Function(BuildContext context, OctopusRoute route, OctopusState state, OctopusNode node) - Page builder for routes.