papilio library

Classes

Bloc<T>
Business Logic Component
BlocBuilder<T>
Builds Blocs. You should use this instead of constructing a Bloc directly Use addHandler to handle async events and addSyncHandler to handle synchronous events
BlocEvent
An event that can be sent to the bloc
PageArgs<TBloc>
Holds details about the page for the route
PageBuilder<TState>
Builds a page route that will mint pages when the user navigates to them
PapilioRoute<T>
Simple implementation of Route purely to provide info about the current route
PapilioRouteInformationParser<T>
Parses information about the route (usuall a web URL)
PapilioRouterDelegate<T>
Paplilio router delegate. This is the main class that you pass to the MaterialApp to use papilio routing.
PapilioRouterDelegateBuilder<T>
A builder that can be used to create a PapilioRouterDelegate
PapilioRoutingConfiguration<T>
Holds the configuration required to build a routing delegate
RebuildEvent
Resend the current state to trigger a rebuild. This is the equivalent of setState
Snapshot<T>
A snapshot of the state from the stream with the ability to send events to the Bloc

Extensions

ContainerBuilderExtensions on IocContainerBuilder
Use the extensions to add Papilio routing with the IocContainerBuilder
ContainerExtensions on IocContainer
Use these extensions to navigate using the IocContainer with papilio