navigation library

Karee Navigation

This library contains the set of tools used to manage navigation in Karee Applications.

Modules

  • KareeRouter
  • Route
  • RouteMode
  • screen

Classes

ActivationRouteContext
Context of router when handling route with an activation function.
KareeRouter
KareeRouter: To navigate between screens you may use KareeRouter that offers you two ways to go forward and to go back. KareeRouter provides also a way to consume routes between your application modules.
Route
Route: class designed to subscribe events (route) in application.

Enums

RouteMode
Notes: Karee provides different ways to navigate between screens. RouteMode helps you to set what kind of navigation policy you want.

Functions

screen(dynamic screen, RouteMode mode, {dynamic argument, Symbol? routerName, BuildContext? context}) → void
screen(): Function used by the core KareeRouter to launch screen on navigate.

Typedefs

RouteActivation = bool Function(ActivationRouteContext ctx)
RouteDirection: Not yet implemented, it will be used as the screen entry direction during navigation.