diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 48f055a7c..748295bfb 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -36,7 +36,7 @@ jobs: - uses: subosito/flutter-action@v2.12.0 with: cache: true - flutter-version: '3.19' + flutter-version: '3.22' channel: 'stable' - name: Version run: flutter doctor -v diff --git a/CHANGELOG.md b/CHANGELOG.md index ddc1133fe..b9f069cc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ ## NEXT +* This release requires Flutter 3.22.0 and Dart 3.4. + * [Android] Fixed a leak of the barcode scanner. * [Android] Fixed a crash when encountering invalid numbers for the scan window. +* [Web] Migrates `package:web` to 1.0.0. ## 5.1.1 * This release fixes an issue with automatic starts in the examples. diff --git a/example/web/index.html b/example/web/index.html index 5beb6ff8e..1af22e3a9 100644 --- a/example/web/index.html +++ b/example/web/index.html @@ -31,29 +31,8 @@ mobile_scanner_example - - - - - + diff --git a/pubspec.yaml b/pubspec.yaml index f283ccd01..7391c3210 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,8 +16,8 @@ screenshots: path: example/screenshots/overlay.png environment: - sdk: ">=3.3.0 <4.0.0" - flutter: ">=3.19.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: @@ -25,7 +25,7 @@ dependencies: flutter_web_plugins: sdk: flutter plugin_platform_interface: ^2.0.2 - web: ^0.5.1 + web: ^1.0.0 dev_dependencies: flutter_test: