To improve readability and manageability of the code, you can separate widgets from its own widget class, creating a shallow tree of widgets . In each application, you should strive to keep the widget tree shallow.
Read moreHow do you optimize a Flutter on the web app?
For the best user experience it is important that an app loads fast. The initial load time of a Flutter web application can be improved by minimizing its JavaScript bundle . The Dart compiler includes features such as tree shaking and deferred loading, both of which minimize the JavaScript bundle.19 May 2020
Read more