# Kaisel: A Native Dart Router for Flutter with Typed Routes

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

> Hacker News story 49135985 · language: en · submitted 2026-08-01
> Web version: https://zeli.app/story/49135985
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 57 · by [TheWiggles](<https://news.ycombinator.com/user?id=TheWiggles>) · 💬 11
[original](<https://kaisel.dev/>) · [HN discussion](<https://news.ycombinator.com/item?id=49135985>)

## Summary

I introduce Kaisel, a native router for Flutter built on Dart 3 that treats routes as values. By using sealed classes and exhaustive switches, the compiler ensures every route is handled, eliminating runtime errors. The navigation stack functions as a simple list of objects, making it fully testable and restorable without code generation or magic strings.

## Key quote

> Add a route and the compiler finds every place that must handle it — no runtime unknown route left.

## HN discussion (11 comments)

### [written-beyond](<https://news.ycombinator.com/item?id=49138811>)

> Ignoring the claude-isms, this could be a godsend from the nightmare that is Go Router.

### [rhmn_mdov](<https://news.ycombinator.com/item?id=49137659>)

> Very cool. Nav 2.0 should have been replaced by such a solution as soon as the sealed classes were introduced to dart.

### [rubiktubik](<https://news.ycombinator.com/item?id=49138323>)

> I like the ideas of the routing api. Could be my new favourite. Well done!

---

## Cite

- Page: https://zeli.app/story/49135985
- Date: 2026-08-01
- Source: kaisel.dev (https://kaisel.dev/)
- Hacker News: https://news.ycombinator.com/item?id=49135985

## Other languages

- zh: https://zeli.app/zh/story/49135985 · markdown: https://zeli.app/zh/story/49135985.md
