Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You don't need to nest everything in one build. You can can make every part of the widget as a variable and assemble them together or create custom widget classes if you plan to reuse them multiple times.
For example you can do:
var text = Text(
"Something",
style: TextStyle(...),
);
and then
... return Container(child: text); -
JannikHv5046y
Related Rants
I really do like Flutter/Dart but I just cannot be the only who thinks that the way to create several nested components/widgets is even close to somewhat readable, what the fu** Google.
rant
app
google
flutter
apps
dart