follow library

Classes

Bind
Constructors for immutable Binding declarations.
Binding<T extends Object>
Immutable, typed description of one dependency binding.
BindingDeclaration
Common non-generic type used by heterogeneous feature binding lists.
BranchTransition
Motion between persistent branches, independent of their page transitions.
DataRouteSpec<A>
A route whose arguments are represented by A, commonly a Dart record.
DependencyFailed<T extends Object>
DependencyIdle<T extends Object>
DependencyLoading<T extends Object>
DependencyReady<T extends Object>
DependencyState<T extends Object>
Observable state of one stored dependency.
Feature
An immutable declaration of dependencies, navigation, and widget composition.
FeatureBranch
One retained feature instance in a shell, identified by its mount route.
FeatureFailed
FeatureInitializing
FeatureReady
FeatureRoute
One page or nested feature in a Feature route table.
FeatureScope
Mounts a dependency feature in an arbitrary, non-routed subtree.
FeatureShell
Immutable configuration for independent, lazily mounted feature stacks.
FeatureState
Observable initialization state of the active feature chain.
FollowApp
Owns the root feature and router for an application or isolated subtree.
FollowContext
Access to the nearest Follow feature and router.
FollowNavigationState
Serializable URL and navigation tree used by browser back/forward.
FollowShellController
Runtime-owned handle. Obtain it from the shell builder or context.follow.shell.
FollowTransition
Immutable page motion. Builders receive uncurved Flutter route animations.
GuardResult
A guard allows, denies, or redirects a navigation.
Read
Reads dependencies while another dependency is being created.
RouteData
The requested URI and decoded path parameters.
RouteLocation
A validated application location produced by a route specification.
RouteSpec<A>
Typed contract for decoding deep links and encoding navigation arguments.
StaticRouteSpec
A route without arguments.
Token<T extends Object>
A stable, typed identity for one dependency.
TokenKey
Common runtime identity for heterogeneous token collections.

Enums

Activation
AsyncPolicy
Controls startup and readiness participation for asynchronous bindings.

Typedefs

FeatureBuilder = Widget Function(BuildContext, Widget outlet)
FeatureGuard<A> = FutureOr<GuardResult> Function(A arguments, Read read)
FollowAppBuilder = Widget Function(BuildContext context, RouterConfig<FollowNavigationState> routerConfig)
FollowErrorBuilder = Widget Function(BuildContext, Object, StackTrace)
FollowRouteBuilder = Widget Function(BuildContext, RouteData)
FollowShellBuilder = Widget Function(BuildContext context, FollowShellController navigation, Widget outlet)
Builds shared UI around the shell's persistent branch outlet.
RouteEncoding = ({Map<String, String> path, Map<String, String> query})