Navaron Bracke

lower the Flutter constraint to allow earlier adoption of the beta

1 -## NEXT 1 +## 5.0.0-beta.2
  2 +
  3 +**BREAKING CHANGES:**
  4 +
  5 +* Flutter 3.16.0 is now required.
2 6
3 Bugs fixed: 7 Bugs fixed:
4 * Fixed an issue where the scan window was not updated when its size was changed. (thanks @navaronbracke !) 8 * Fixed an issue where the scan window was not updated when its size was changed. (thanks @navaronbracke !)
@@ -7,7 +11,6 @@ Bugs fixed: @@ -7,7 +11,6 @@ Bugs fixed:
7 11
8 **BREAKING CHANGES:** 12 **BREAKING CHANGES:**
9 13
10 -* Flutter 3.19.0 is now required.  
11 * The `width` and `height` of `BarcodeCapture` have been removed, in favor of `size`. 14 * The `width` and `height` of `BarcodeCapture` have been removed, in favor of `size`.
12 * The `raw` attribute is now `Object?` instead of `dynamic`, so that it participates in type promotion. 15 * The `raw` attribute is now `Object?` instead of `dynamic`, so that it participates in type promotion.
13 * The `MobileScannerArguments` class has been removed from the public API, as it is an internal type. 16 * The `MobileScannerArguments` class has been removed from the public API, as it is an internal type.
@@ -6,8 +6,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev @@ -6,8 +6,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
6 version: 0.0.1 6 version: 0.0.1
7 7
8 environment: 8 environment:
9 - sdk: ">=3.3.0 <4.0.0"  
10 - flutter: ">=3.19.0" 9 + sdk: ">=3.2.0 <4.0.0"
  10 + flutter: ">=3.16.0"
11 11
12 # Dependencies specify other packages that your package needs in order to work. 12 # Dependencies specify other packages that your package needs in order to work.
13 # To automatically upgrade your package dependencies to the latest versions 13 # To automatically upgrade your package dependencies to the latest versions
1 name: mobile_scanner 1 name: mobile_scanner
2 description: A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS. 2 description: A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
3 -version: 5.0.0-beta.1 3 +version: 5.0.0-beta.2
4 repository: https://github.com/juliansteenbakker/mobile_scanner 4 repository: https://github.com/juliansteenbakker/mobile_scanner
5 5
6 screenshots: 6 screenshots:
@@ -16,8 +16,8 @@ screenshots: @@ -16,8 +16,8 @@ screenshots:
16 path: example/screenshots/overlay.png 16 path: example/screenshots/overlay.png
17 17
18 environment: 18 environment:
19 - sdk: ">=3.3.0 <4.0.0"  
20 - flutter: ">=3.19.0" 19 + sdk: ">=3.2.0 <4.0.0"
  20 + flutter: ">=3.16.0"
21 21
22 dependencies: 22 dependencies:
23 flutter: 23 flutter:
@@ -25,7 +25,7 @@ dependencies: @@ -25,7 +25,7 @@ dependencies:
25 flutter_web_plugins: 25 flutter_web_plugins:
26 sdk: flutter 26 sdk: flutter
27 plugin_platform_interface: ^2.0.2 27 plugin_platform_interface: ^2.0.2
28 - web: ^0.5.0 28 + web: ^0.4.0
29 29
30 dev_dependencies: 30 dev_dependencies:
31 flutter_test: 31 flutter_test: