Skip to content

Commit

Permalink
[firebase_ml_vision] Use const constructor in example app & update qr…
Browse files Browse the repository at this point in the history
… test image (firebase#289)
  • Loading branch information
bparrishMines authored Oct 10, 2019
1 parent 6b84a5f commit 0f33244
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions packages/firebase_ml_vision/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/firebase_ml_vision/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ml_vision/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ml_vision/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: firebase_ml_vision
description: Flutter plugin for Firebase machine learning vision services.
author: Flutter Team <[email protected]>
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_ml_vision
version: 0.9.2+2
version: 0.9.2+3

dependencies:
flutter:
Expand Down

0 comments on commit 0f33244

Please sign in to comment.