Kaisel – Routes as Values. Dart 3 Native Router for Flutter

Kaisel is a new native router for the Flutter framework that treats routes as plain Dart classes rather than magic strings. It aims to simplify navigation by leveraging Dart's type system and sealed classes to ensure exhaustive route handling.
Why it matters
It provides developers with a more robust, type-safe way to manage application navigation, reducing runtime errors and improving code maintainability.
flutter pub add kaisel The getting started guide takes you from install to navigating with typed routes in a few minutes — sealed class, exhaustive switch , done.
Navigation is a switch over a sealed type. Add a route and the compiler finds every place that must handle it — no runtime “unknown route” left.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in