Skip to content

Commit 4776213

Browse files
fix web example on Flutter 3.22
1 parent aa0d7af commit 4776213

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 8.1.1
2+
### Web
3+
- Migrate the web example to use the new web bootstrapping, introduced in Flutter 3.22.
4+
15
## 8.1.0
26
### General
37
- Updates the minimum Flutter version to 3.22.0, to support Dart 3.4.

example/web/index.html

+1-9
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,8 @@
1616

1717
<title>example</title>
1818
<link rel="manifest" href="manifest.json">
19-
<script src="flutter.js"></script>
2019
</head>
2120
<body>
22-
<!-- This script installs service_worker.js to provide PWA functionality to
23-
application. For more information, see:
24-
https://developers.google.com/web/fundamentals/primers/service-workers -->
25-
<script>
26-
{{flutter_build_config}}
27-
_flutter.loader.load();
28-
</script>
29-
<script src="main.dart.js" type="application/javascript"></script>
21+
<script src="flutter_bootstrap.js" async></script>
3022
</body>
3123
</html>

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: A package that allows you to use a native file explorer to pick sin
33
homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker
44
repository: https://github.com/miguelpruivo/flutter_file_picker
55
issue_tracker: https://github.com/miguelpruivo/flutter_file_picker/issues
6-
version: 8.1.0
6+
version: 8.1.1
77

88
dependencies:
99
flutter:

0 commit comments

Comments
 (0)