kaisel_core 0.17.0
kaisel_core: ^0.17.0 copied to clipboard
Pure-Dart navigation core for the kaisel router — sealed routes, a stack-as-state model, guards, and URL codecs. No Flutter, no codegen.
kaisel_core #
The pure-Dart navigation core for the kaisel router. No Flutter dependency.
kaisel_core holds the parts of kaisel that don't need widgets:
KaiselRoute— the sealed-route base with defaultprops-based equality.KaiselRouter— the stack-as-state container (push,pop,replaceTop,set, modal flows viarun<T>), built on a small pure-Dart change-notifier.KaiselGuard— the composable guard pipeline.- URL codecs —
KaiselCodec,KaiselStackCodec,KaiselConfigCodec,ModuleStackCodec, and theKaiselConfigmodel.
Because it has no Flutter dependency, this logic is testable with package:test alone and usable from non-Flutter Dart.
Using it #
Most apps should depend on kaisel (the Flutter package), which re-exports everything here plus the widgets:
dependencies:
kaisel: ^0.13.0
Depend on kaisel_core directly only if you want the navigation logic without Flutter. See the kaisel README for the full guide.
lib/framework.dartexposes framework-facing internals to thekaiselpackage. It is not part of the public API — application code should not import it.
License #
Apache-2.0 © 2026 Codefarmer.