Did you know?
Apps created with Flutter 3.22 use a new, faster web bootstrap process.
The easiest way to upgrade your existing apps is to delete the web folder and recreate it again with the Flutter CLI.
Note: if you recreate the Flutter web project from scratch, remember to update your
index.html
, icons, and manifest files with whatever customizations you had before.
The new bootstrap process is quite customizable.
You can even display a CSS progress indicator before the Flutter app is ready to take over.
This gist shows how to accomplish this:
For all the details about the new app initialization process, read the official docs. 👇
Previous | Next |
---|---|
Transform SVG assets at build time | Taking screenshots with the Flutter CLI |