kaisel_core 0.17.0 copy "kaisel_core: ^0.17.0" to clipboard
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 #

codecov

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 default props-based equality.
  • KaiselRouter — the stack-as-state container (push, pop, replaceTop, set, modal flows via run<T>), built on a small pure-Dart change-notifier.
  • KaiselGuard — the composable guard pipeline.
  • URL codecsKaiselCodec, KaiselStackCodec, KaiselConfigCodec, ModuleStackCodec, and the KaiselConfig model.

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.dart exposes framework-facing internals to the kaisel package. It is not part of the public API — application code should not import it.

License #

Apache-2.0 © 2026 Codefarmer.

0
likes
150
points
262
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure-Dart navigation core for the kaisel router — sealed routes, a stack-as-state model, guards, and URL codecs. No Flutter, no codegen.

Repository (GitHub)
View/report issues

Topics

#router #navigation #routing #deep-linking

License

Apache-2.0 (license)

Dependencies

meta

More

Packages that depend on kaisel_core