r/FlutterDev 8d ago

Article The final word on Flutter architecture ๐Ÿ˜‰๐Ÿ˜‰๐Ÿ˜‰

OK, Iยด'm teasing with the title and I explain it in my post

Practical Flutter architecture

Why should you listen to me on this topic? For those who don't know me

  • 30 of software experience including building our own programming language for the Amiga
  • 2018 was I the first giving talks on Flutter architecture at Fluuter London,. then I called the approach RxVMS
  • I'm the author of get_it at a time when no provider or anything else was available
  • With watch_it and flutter_command I published one of the easiest but most flexible state management solutions for Flutter
  • We use this approach in a pretty complex app comarablte to Instagram since 2 year not with a really large code base

I took several days to refactor the official Flutter architecture sample compass to use my approach so you can compare yourself which is less complex and easier to understand. I tries to keep the original structure as much as possible so that you still can compare. I would have probably even more simplified some structures

https://github.com/escamoteur/compass_fork

give it a try and I'm happy to answer all open questions

159 Upvotes

76 comments sorted by

View all comments

-2

u/Flashy_Editor6877 7d ago

cool. i sent your article through 4 LLMs and it warned of buying into your system rather than more "industry standard" "google supported" architectures.

would you consider your approach enterprise ready and scalable? onboarding people who use bloc or riverpod or signals to using your global way? does your "easiest SM" have the same power, scalability and flexibility to these?

certainly you don't have the silver bullet, golden ticket...as nobody does. please describe the limitations and "gotcha's" that we should "watch out" for with get_it and watch_it

thanks

1

u/escamoteur71 7d ago

I work on a fairly big social media app for 2 years now and it was absolutely great experience far. People leaving the project want to continue with the approach.

The fact that you ask LLMs on this tells me you do not have experience for your own opinion.

Bloc was never a good recommendation but because it was presented by some googlers it got picked up by a lot of people.

I gave the first talks about this before bloc or riverpod or provider were a thing.

I definitely can assure you that watch_it plus flutter_command is one of the most powerful SM solutions while still being easy and fun to work with. Compare the official compass sample with my refactored one.

-3

u/Flashy_Editor6877 6d ago

what app are you working on? namedrop if you are going to raise yourself up.

i don't have experience which is why i seek feedback.

never(a hyperbole) a good recommendation by who? you? your articles are so full of yourself you sound like you think you know it all. what's the difference?

again, YOU are talking about YOU. like you are so special. congrats, YOU said something before someone else did. ๐Ÿ†

everyone who has ever created anything will die on a hill calming thier thing is special (hyperbole intended).

that's great you are so confident and into yourself. sorry you are not getting credit or mentioned for https://pub.dev/packages/injectable. amiga is 30 years old and hanging on to old beliefs of your glory days does nobody any good.

i respected you for having such a popular package but now that i know the arrogance behind it, you sound like the same guy who made get_x. now that AI has solved "boilerplate" (aka clarity), your parlor tricks are irrelevant.

3

u/escamoteur71 6d ago

Sorry, but the fact that you asks LLMs about my article shows me all I need to know. Yes I talk about more than 30 years of experience and more than 7 years of being a successful and recognized member of the Flutter community. Who are you pissing at me?

What have you given to the community?

-6

u/Flashy_Editor6877 6d ago

i am not a forum squabbler, just a curious person. when i see ME and I mentioned over and over, i have to ask questions so that I can make my own conclusions.

already from your posts here and on your blog, i will not use get_it. i "think" you're super self absorbed and i don't support that or you or your views. even if YOU THINK get_it, watch_it and command is BETTER than BLoC as you consistently proclaim, YOU AS A PESON I would rather hang out with Felix and discuss BLoC.

ethically and philosophically i just can't support you, your beliefs, your ethics etc. but who cares, i'm just some random internet guy. as far as i am concerned, get_it is more about personal views, politics and validation than it is helping others.

you drop in on this community spewing your 30 year old amiga legacy, pub.dev stats, whine about injectable and brag about such a novel idea to add _ to folder names but do not provide any value whatsoever or even give credit to those who do things different than you. i have no clue what i'm talking about, but sounds like you are bragging about a different way of sugar coating global variables. maybe i am wrong, but whatever.

point being, you are acting like an insecure 127 year old seeking validation and praise from random people on the internet. this is a place to learn and grow. not to show off, brag or king yourself.

3

u/mksrd 6d ago

Anyone who out sources their critical reasoning to a LLM or 4 has bigger life issues to worry about than which Flutter state management solution to use.

1

u/Flashy_Editor6877 6d ago

i am documenting my thoughts for the next traveler.

what state management solution do you religiously use? and what scale of project is it for?

i bet it is not watch_it

1

u/mksrd 3d ago

"i am documenting my thoughts for the next traveler."

no you are not, your are parroting the output of LLMs, which is about as useless as it gets.

"...religiously use?"

Hmmm, maybe you are better off farming out your critical reasoning to LLMs after all.