Kaisel – Routes as Values. Dart 3 Native Router for Flutter
kaisel.devIgnoring the claude-isms, this could be a godsend from the nightmare that is Go Router.
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
Very cool. Nav 2.0 should have been replaced by such a solution as soon as the sealed classes were introduced to dart.
I like the ideas of the routing api. Could be my new favourite. Well done!
I've read the quick guide and still don't understand what this is.
it's a router that uses classes instead of strings, what is there not to understand
I suppose what a router is, when it's not a tool or a network device. I assume classes as in object oriented?
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().
By the way, how is your balloon-tying hand?
Look forward to combining this with fluorite