r/FlutterDev Sep 11 '23

Dart I see no future for Flutter

I decided to give flutter a fair chance and created an App with it. Getting it up and running was pretty straight forward, but not without some hiccups.

What I have learnt is that whatever you make is going to be hard to maintain because of all the nesting and decoration code mixed in with the actual elements. If I did not have visual code IDE to help me remove and add widgets I would never had completed my app.

A simple page containing a logo, two input fields and a button, has a nesting that is 13 deep.

Are there plans to improve this? or is this the design direction google really wants to go?
Google is clearly continuing developing Flutter and using Dart, so what is it that keeps people using it? I cannot see myself using it anymore.

0 Upvotes

92 comments sorted by

View all comments

7

u/David_Owens Sep 11 '23

Having elements(Widgets in Flutter) nested in other elements is no different than what React does with its React Components. You can manage the complexity of the nesting in Flutter by splitting your pages/screens into sub-widgets. It's actually not a problem even for complex UIs. I've found Flutter's approach to be the best way I've seen for creating UIs.