ContainerBuilderExtensions extension

Use the extensions to add Papilio routing with the IocContainerBuilder

on
  • IocContainerBuilder

Methods

addRouting<T>(PapilioRoutingConfiguration<T> getRoutingFunctions(IocContainer container)) → void
Adds a PapilioRouterDelegate to the IocContainer so that you can use it in your MaterialApp. This is the main method for wiring up your Papilio app