Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

Commit 2235534

Browse files
committed
docs: update information about manifest
1 parent 336f0d8 commit 2235534

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

__brick__/web/flutter_bootstrap.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ const progressIndicator = document.querySelector('#progress-indicator');
88
async function readAssets() {
99
// AssetManifest.bin is encoded with Flutter's Standard Message Codec.
1010
// See: https://docs.flutter.dev/platform-integration/web/initialization
11+
// See also: https://docs.flutter.dev/release/breaking-changes/asset-manifest-dot-json#reading-asset-manifest-information-from-dart-code-outside-of-a-flutter-app
12+
// Keep in mind that AssetManifest.bin is an implementation detail of Flutter.
13+
// Reading this file isn't an officially supported workflow. The contents or format of the file might change in a future Flutter release without an announcement.
1114
const response = await fetch('assets/AssetManifest.bin');
1215
const buffer = await response.arrayBuffer();
1316
const view = new DataView(buffer);

0 commit comments

Comments
 (0)