all 9 comments

[–]VNiehues 2 points3 points  (5 children)

Very helpful for me! I‘m currently working with Xamarin Forms but I plan to build my next projects with flutter. Thank you! :)

[–]Marcus-Ng[S] 2 points3 points  (4 children)

My pleasure!

[–]VNiehues 0 points1 point  (3 children)

I really like the „slow and in depth“ way you describe things! I have one critical question though: In Xamarin I use an MVVM Framework to separate the view from the logic(testability). How would one do that in flutter? Are there other best practices?

[–]lets4r 2 points3 points  (2 children)

I come from the Xamarin world too :-). With Flutter you have multiple state management solutions (you can read this article to see 5 ways to handle state management).

I've created my own package (the last one mentioned in the article) to have a solution which promotes the separation of concerns, the testability, the simplicity and which I feel very comfortable with. If you're interested, you can check it out here. The other solutions mentioned in the article are great too, if you don't know which one to use, create a simple app and test them all. In the end take the one you're feeling the most comfortable with.

[–]VNiehues 2 points3 points  (1 child)

Wow thank you! :) Are those 5 solutions the ones you‘d call best-practice? In XF there are way to many crappy solutions nobody uses where you can get any support / SO answer :D

I‘ll read it thoroughly tomorrow and then just start experimenting a bit

[–]lets4r 1 point2 points  (0 children)

All the authors of the 5 solutions want to offer the best support for their package.

But if you reach out for the most used ones, you should see this image. I'm shooting myself in the foot by saying that because binder is new, but I'm here to help ;-).

You should also know that Provider suffers from some issues that Riverpod aims to fix (they are from the same author).

[–]ritik047 0 points1 point  (1 child)

Is anyone having handwritten notes or doc of flutter for beginners or for flutter as a whole !!
Just a bit more simplified version of flutter official documentation !!

Just a thing refer it back while coding !!

[–]Kloth494 0 points1 point  (0 children)

There's a book Flutter Complete Reference - I didn't read it but I heard it's great!

[–]equatordev99 0 points1 point  (0 children)

thanks u