();

loading

textContent

Running app...

await

appRunner

runApp

();

});

});

</script>

</body>

</html>

For a more practical example using CSS animations,
see the initialization code for the Flutter Gallery.

Upgrading an older project

If your project was created in Flutter 2.10 or earlier,
you can create a new index.html file
with the latest initialization template by running
flutter create as follows.

First, remove the files from your /web directory.

Then, from your project directory, run the following: