diff --git a/packages/firebase_ml_vision/CHANGELOG.md b/packages/firebase_ml_vision/CHANGELOG.md index 59ff8ad05c26..a01b9e8c26f6 100644 --- a/packages/firebase_ml_vision/CHANGELOG.md +++ b/packages/firebase_ml_vision/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.9.2+3 + +* Use `BoxDecoration` `const` constructor in example app. +* Use a clearer test image for contact QR barcode. + ## 0.9.2+2 * Update deployment target of iOS example app to 9.0. diff --git a/packages/firebase_ml_vision/example/assets/test_contact_barcode.jpg b/packages/firebase_ml_vision/example/assets/test_contact_barcode.jpg new file mode 100644 index 000000000000..173c2aca2a0d Binary files /dev/null and b/packages/firebase_ml_vision/example/assets/test_contact_barcode.jpg differ diff --git a/packages/firebase_ml_vision/example/assets/test_contact_barcode.png b/packages/firebase_ml_vision/example/assets/test_contact_barcode.png deleted file mode 100644 index 8bd7e1c900e1..000000000000 Binary files a/packages/firebase_ml_vision/example/assets/test_contact_barcode.png and /dev/null differ diff --git a/packages/firebase_ml_vision/example/lib/main.dart b/packages/firebase_ml_vision/example/lib/main.dart index c1fe123258b7..3be135d05ad9 100644 --- a/packages/firebase_ml_vision/example/lib/main.dart +++ b/packages/firebase_ml_vision/example/lib/main.dart @@ -47,7 +47,7 @@ class _ExampleListState extends State<_ExampleList> { final String widgetName = _exampleWidgetNames[index]; return Container( - decoration: BoxDecoration( + decoration: const BoxDecoration( border: Border(bottom: BorderSide(color: Colors.grey)), ), child: ListTile( diff --git a/packages/firebase_ml_vision/example/pubspec.yaml b/packages/firebase_ml_vision/example/pubspec.yaml index f8ecf0e489f2..33a3bfecdf9b 100644 --- a/packages/firebase_ml_vision/example/pubspec.yaml +++ b/packages/firebase_ml_vision/example/pubspec.yaml @@ -27,6 +27,6 @@ flutter: assets: - assets/test_face.jpg - assets/test_barcode.jpg - - assets/test_contact_barcode.png + - assets/test_contact_barcode.jpg - assets/test_text.png - assets/span_book.jpg diff --git a/packages/firebase_ml_vision/example/test_driver/barcode_detector.dart b/packages/firebase_ml_vision/example/test_driver/barcode_detector.dart index 43cdb0375d80..8cb6bcdcfa62 100644 --- a/packages/firebase_ml_vision/example/test_driver/barcode_detector.dart +++ b/packages/firebase_ml_vision/example/test_driver/barcode_detector.dart @@ -22,7 +22,7 @@ void barcodeDetectorTests() { test('detectInImage contactInfo', () async { final String tmpFilename = await _loadImage( - 'assets/test_contact_barcode.png', + 'assets/test_contact_barcode.jpg', ); final FirebaseVisionImage visionImage = FirebaseVisionImage.fromFilePath( diff --git a/packages/firebase_ml_vision/pubspec.yaml b/packages/firebase_ml_vision/pubspec.yaml index d30f3859ebd8..cc1b3fdaf88b 100644 --- a/packages/firebase_ml_vision/pubspec.yaml +++ b/packages/firebase_ml_vision/pubspec.yaml @@ -2,7 +2,7 @@ name: firebase_ml_vision description: Flutter plugin for Firebase machine learning vision services. author: Flutter Team homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_ml_vision -version: 0.9.2+2 +version: 0.9.2+3 dependencies: flutter: