3 ms·
I think if you use ListView.builder() in Flutter instead of a Column you will see much better results - it ensures that Flutter does not have to layout 15k butt
by Jabbles 2y ago
I think if you use ListView.builder() in Flutter instead of a Column you will see much better results - it ensures that Flutter does not have to layout 15k buttons all the time, just those that are visible.
Of course, it's unfair to allow Flutter to have optimizations but not the raw HTML, but disallowing well-known, real-world optimizations is also an unfair test IMO.
https://api.flutter.dev/flutter/widgets/ListView-class.html https://api.flutter.dev/flutter/widgets/ListView-class.html