4 ms·
This is a wonderful answer and much better than what I was about to write. Flutter Widgets, like HTML are declarative. They're just hierarchical information. T
by rkangel 6y ago
This is a wonderful answer and much better than what I was about to write.
Flutter Widgets, like HTML are declarative. They're just hierarchical information. This works in HTML, and it works in Flutter - there's nothing to get confused about.
Nested control flow (if statements, loops etc.) obscures the actual behaviour and so good practice is to break it up until it is clear and understandable.