Settings

Theme

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

kaisel.dev

56 points by TheWiggles 21 hours ago · 12 comments

Reader

written-beyond 16 hours ago

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

  • storywatch 14 hours ago

    The biggest issue with Go Router is that they keep changing the damn API. I can't believe the release cadence of a Flutter navbar library is faster than entire JS frontend frameworks like Next.js

rhmn_mdov 18 hours ago

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

rubiktubik 17 hours ago

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

ifh-hn 19 hours ago

I've read the quick guide and still don't understand what this is.

  • Yiin 15 hours ago

    it's a router that uses classes instead of strings, what is there not to understand

    • ifh-hn 3 hours ago

      I suppose what a router is, when it's not a tool or a network device. I assume classes as in object oriented?

      • satvikpendem 43 minutes ago

        Honestly if you don't understand it, it's not for you as you're not the target market, which is fine, not everything is for everyone's use cases. It's a router in the sense of navigating pages in a Flutter application like /page-a, /page-b etc and instead of having them as raw strings, the routes are defined as classes like PageA().

rhmn_mdov 18 hours ago

By the way, how is your balloon-tying hand?

arikrahman 19 hours ago

Look forward to combining this with fluorite

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection