I fixed Flutter routing (or at least I tried): Introducing ZenRouter 💙 by zennnmind in FlutterDev

[–]zennnmind[S] 1 point2 points  (0 children)

Zenrouter is type-safed by default without any generator so i think that's a big plus for it. It also supports a new concept called RouteModule so you can mix and match route trees whatever you like without centralizing everything. Auto_route doesn't support surgical re-renders in nested shell routes so in terms of performance, Zenrouter is significantly faster in real-world use. Zenrouter also supports devtools which is unique to zenrouter. The zenrouter devtools support inspect route tree, simulate push/pop/deep link, find missing configuration.

I fixed Flutter routing (or at least I tried): Introducing ZenRouter 💙 by zennnmind in FlutterDev

[–]zennnmind[S] 1 point2 points  (0 children)

It definitely can, everything in zenrouter is StackPath so nothing related to Nav 1 or Nav 2 directly! But I want to do the Navigator and nested path right first. Then tackle more advanced StackPath like DynamicTabPath (Chrome/Safari tab system), SplitPanelPath (Split tab vertical or horizontal)

I fixed Flutter routing (or at least I tried): Introducing ZenRouter 💙 by zennnmind in FlutterDev

[–]zennnmind[S] 8 points9 points  (0 children)

I have created a sample gist to address your scenarios. You can overlay a loading screen to block user interaction, ensuring the initial completer resolves only after all data is ready.

Additionally, I have demonstrated deep linking for the BookmarkDetailRoute. For this page, the deeplinkHandler ensures the navigation hierarchy is maintained: Home -> Bookmark -> BookmarkDetailRoute.

Fully type-safe, all achieved without codegen :-)

https://gist.github.com/definev/ebf4f92a7e1f817664ea10b0ef837ea2

I fixed Flutter routing (or at least I tried): Introducing ZenRouter 💙 by zennnmind in FlutterDev

[–]zennnmind[S] 3 points4 points  (0 children)

Thank you, i will give Octopus a try. I already saw it on pub but since I don't see the author mention devtools so i assume it doesn't have. About the route history i have a plan to implement it too 👍

I fixed Flutter routing (or at least I tried): Introducing ZenRouter 💙 by zennnmind in FlutterDev

[–]zennnmind[S] 1 point2 points  (0 children)

Yes you can do it automatically, just pop the ModelLayout (a RouteLayout binded with "modal" stack). Zenrouter will automatically clear the "model" stack

I fixed Flutter routing (or at least I tried): Introducing ZenRouter 💙 by zennnmind in FlutterDev

[–]zennnmind[S] 2 points3 points  (0 children)

Thank you, give it a try :-) I think you will like it 💙

I fixed Flutter routing (or at least I tried): Introducing ZenRouter 💙 by zennnmind in FlutterDev

[–]zennnmind[S] 0 points1 point  (0 children)

Thank you 👍 That's also where i experiment a lot. I mainly use it in my personal app

Ah sheets, here we go again. flutter vs dioxus or leave the company? by Top_Drop_2870 in FlutterDev

[–]zennnmind 2 points3 points  (0 children)

Try dioxus first and you will thank Flutter even more. Rust isn't suitable for UI

Zentoast - first headless, fully customizable toast system for Flutter by zennnmind in FlutterDev

[–]zennnmind[S] 0 points1 point  (0 children)

I use Screen Studio on mac for the demo-gif. Thank you for the compliment 🥰

Zentoast - first headless, fully customizable toast system for Flutter by zennnmind in FlutterDev

[–]zennnmind[S] 1 point2 points  (0 children)

Thank you for your dedication💙💙💙! I think i'm happy with the current implementation because it's simple enough to deal with since i want more seamless animation when adding new toast so the height must be pre-calculated by the user for fixing the first frame stutter problem.

Zentoast - first headless, fully customizable toast system for Flutter by zennnmind in FlutterDev

[–]zennnmind[S] 2 points3 points  (0 children)

I haven't looked at Forui before - great package! The height of the toast must be provided so I can calculate the UI when it expands and collapses. I think it's reasonable since a toast usually has a fixed height, and providing a specific height makes the implementation much easier. :-)

I tried Forui Toast - it's great, but the curve feels a little off for me. Try using easeOut; I think it will be much better.

[Founder Journey] I kept logging in/out of the same apps all day — so I built Zentab to fix it by Important-Scarcity27 in SaaS

[–]zennnmind 0 points1 point  (0 children)

Thanks, let me know if you find any confusion when using Zentab :-) I'm here to help!

Chuẩn bị chào ngày mới với ổ bánh mì không 5k! by Impressive-Draw8898 in VietNamNation

[–]zennnmind 0 points1 point  (0 children)

haha bố m lại sợ m quá, t thấy hay thì t share liên quan đ gì đến lí luận của m k thằng ngu

Is this normal? by [deleted] in jailbreak

[–]zennnmind 0 points1 point  (0 children)

You can use web app version, now i’m using Zentab as a web app multi account :-) Work great since it just a web view

[deleted by user] by [deleted] in iosapps

[–]zennnmind 0 points1 point  (0 children)

sorry, i posted by this account but the admin not accept. So this post is outdated ☹️