},

onEntrypointLoaded

async

function

engineInitializer

await

engineInitializer

autoStart

();

});

Example: Display a progress indicator

To give the user of your application feedback
during the initialization process,
use the hooks provided for each stage to update the DOM:

<html>

<head>

<!-- ... -->

<script

src=

"flutter.js"

defer

></script>

</head>

<body>

<div

id=

"loading"

></div>

<script>

window

addEventListener

load