Skip to content

Commit 0f33244

Browse files
[firebase_ml_vision] Use const constructor in example app & update qr test image (#289)
1 parent 6b84a5f commit 0f33244

File tree

7 files changed

+9
-4
lines changed

7 files changed

+9
-4
lines changed

packages/firebase_ml_vision/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.9.2+3
2+
3+
* Use `BoxDecoration` `const` constructor in example app.
4+
* Use a clearer test image for contact QR barcode.
5+
16
## 0.9.2+2
27

38
* Update deployment target of iOS example app to 9.0.
Loading
Binary file not shown.

packages/firebase_ml_vision/example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class _ExampleListState extends State<_ExampleList> {
4747
final String widgetName = _exampleWidgetNames[index];
4848

4949
return Container(
50-
decoration: BoxDecoration(
50+
decoration: const BoxDecoration(
5151
border: Border(bottom: BorderSide(color: Colors.grey)),
5252
),
5353
child: ListTile(

packages/firebase_ml_vision/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ flutter:
2727
assets:
2828
- assets/test_face.jpg
2929
- assets/test_barcode.jpg
30-
- assets/test_contact_barcode.png
30+
- assets/test_contact_barcode.jpg
3131
- assets/test_text.png
3232
- assets/span_book.jpg

packages/firebase_ml_vision/example/test_driver/barcode_detector.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void barcodeDetectorTests() {
2222

2323
test('detectInImage contactInfo', () async {
2424
final String tmpFilename = await _loadImage(
25-
'assets/test_contact_barcode.png',
25+
'assets/test_contact_barcode.jpg',
2626
);
2727

2828
final FirebaseVisionImage visionImage = FirebaseVisionImage.fromFilePath(

packages/firebase_ml_vision/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: firebase_ml_vision
22
description: Flutter plugin for Firebase machine learning vision services.
33
author: Flutter Team <[email protected]>
44
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_ml_vision
5-
version: 0.9.2+2
5+
version: 0.9.2+3
66

77
dependencies:
88
flutter:

0 commit comments

Comments
 (0)