diff --git a/README.md b/README.md index 8e097a7f..86251ae1 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Google's ML Kit for Flutter is a set of [Flutter plugins](https://flutter.io/pla | [Pose Detection (Beta)](https://developers.google.com/ml-kit/vision/pose-detection) | [google_mlkit_pose_detection](https://pub.dev/packages/google_mlkit_pose_detection) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_pose_detection)](https://pub.dev/packages/google_mlkit_pose_detection) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_pose_detection) | ✅ | ✅ | | [Selfie Segmentation (Beta)](https://developers.google.com/ml-kit/vision/selfie-segmentation) | [google_mlkit_selfie_segmentation](https://pub.dev/packages/google_mlkit_selfie_segmentation) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_selfie_segmentation)](https://pub.dev/packages/google_mlkit_selfie_segmentation) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_selfie_segmentation) | ✅ | ✅ | | [Subject Segmentation (Beta)](https://developers.google.com/ml-kit/vision/subject-segmentation) | [google_mlkit_subject_segmentation](https://pub.dev/packages/google_mlkit_subject_segmentation) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_subject_segmentation)](https://pub.dev/packages/google_mlkit_subject_segmentation) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_subject_segmentation) | ✅ | ❌ | -| [Document Scanner (Beta)](https://developers.google.com/ml-kit/vision/doc-scanner) | [google_mlkit_document_scanner](https://pub.dev/packages/google_mlkit_document_scanner) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_document_scanner)](https://pub.dev/packages/google_mlkit_document_scanner) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_document_scanner) | ✅ | ❌ | +| [Document Scanner](https://developers.google.com/ml-kit/vision/doc-scanner) | [google_mlkit_document_scanner](https://pub.dev/packages/google_mlkit_document_scanner) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_document_scanner)](https://pub.dev/packages/google_mlkit_document_scanner) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_document_scanner) | ✅ | ❌ | ### Natural Language APIs diff --git a/packages/example/lib/vision_detector_views/document_scanner_view.dart b/packages/example/lib/vision_detector_views/document_scanner_view.dart index 3eec7b17..2fc16694 100644 --- a/packages/example/lib/vision_detector_views/document_scanner_view.dart +++ b/packages/example/lib/vision_detector_views/document_scanner_view.dart @@ -1,9 +1,13 @@ +import 'dart:collection'; import 'dart:io'; import 'package:flutter/material.dart'; import 'package:flutter_pdfview/flutter_pdfview.dart'; import 'package:google_mlkit_document_scanner/google_mlkit_document_scanner.dart'; +typedef MenuEntry = DropdownMenuEntry; +const List list = ['Select option', 'pdf', 'jpeg', 'pdf-jpeg']; + class DocumentScannerView extends StatefulWidget { @override State createState() => _DocumentScannerViewState(); @@ -12,7 +16,11 @@ class DocumentScannerView extends StatefulWidget { class _DocumentScannerViewState extends State { DocumentScanner? _documentScanner; DocumentScanningResult? _result; - + static final List menuEntries = UnmodifiableListView( + list.map((String name) => MenuEntry( + value: name, + label: + name == 'Select option' ? name : 'Scan ${name.toUpperCase()}'))); @override void dispose() { _documentScanner?.close(); @@ -27,103 +35,84 @@ class _DocumentScannerViewState extends State { centerTitle: true, elevation: 0, ), - body: Center( - child: Column( - mainAxisAlignment: MainAxisAlignment.start, - children: [ - Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Icon( - Icons.document_scanner_outlined, - size: 50, - ), - SizedBox(width: 8), - ElevatedButton( - style: ButtonStyle( - backgroundColor: - WidgetStateProperty.all(Colors.black), - shape: WidgetStateProperty.all( - RoundedRectangleBorder( - borderRadius: BorderRadius.circular(8), - ), - ), - ), - onPressed: () => startScan(DocumentFormat.pdf), - child: Padding( - padding: const EdgeInsets.symmetric(vertical: 4), - child: const Text( - 'Scan PDF', - style: TextStyle(color: Colors.white), - ), + body: SingleChildScrollView( + child: Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + children: [ + Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Icon( + Icons.document_scanner_outlined, + size: 50, ), + SizedBox(width: 8), + DropdownMenu( + initialSelection: list.first, + onSelected: (String? value) { + if (value != null) { + if (value == 'pdf') { + startScan({DocumentFormat.pdf}); + } + if (value == 'jpeg') { + startScan({DocumentFormat.jpeg}); + } + if (value == 'pdf-jpeg') { + startScan( + {DocumentFormat.pdf, DocumentFormat.jpeg}); + } + } + }, + dropdownMenuEntries: menuEntries), + ], + ), + if (_result?.pdf != null) ...[ + Padding( + padding: const EdgeInsets.only( + top: 16, bottom: 8, right: 8, left: 8), + child: Align( + alignment: Alignment.centerLeft, + child: Text('PDF Document:')), ), - SizedBox(width: 8), - ElevatedButton( - style: ButtonStyle( - backgroundColor: - WidgetStateProperty.all(Colors.black), - shape: WidgetStateProperty.all( - RoundedRectangleBorder( - borderRadius: BorderRadius.circular(8), - ), - ), - ), - onPressed: () => startScan(DocumentFormat.jpeg), - child: Padding( - padding: const EdgeInsets.symmetric(vertical: 4), - child: const Text( - 'Scan JPEG', - style: TextStyle(color: Colors.white), - ), + SizedBox( + height: 300, + child: PDFView( + filePath: _result!.pdf!.uri, + enableSwipe: true, + swipeHorizontal: true, + autoSpacing: false, + pageFling: false, ), ), ], - ), - if (_result?.pdf != null) ...[ - Padding( - padding: const EdgeInsets.only( - top: 16, bottom: 8, right: 8, left: 8), - child: Align( - alignment: Alignment.centerLeft, - child: Text('PDF Document:')), - ), - SizedBox( - height: 300, - child: PDFView( - filePath: _result!.pdf!.uri, - enableSwipe: true, - swipeHorizontal: true, - autoSpacing: false, - pageFling: false, + if (_result?.images?.isNotEmpty == true) ...[ + Padding( + padding: const EdgeInsets.only( + top: 16, bottom: 8, right: 8, left: 8), + child: Align( + alignment: Alignment.centerLeft, + child: Text('Images [0]:')), ), - ), - ], - if (_result?.images.isNotEmpty == true) ...[ - Padding( - padding: const EdgeInsets.only( - top: 16, bottom: 8, right: 8, left: 8), - child: Align( - alignment: Alignment.centerLeft, - child: Text('Images [0]:')), - ), - SizedBox( - height: 400, child: Image.file(File(_result!.images.first))), + SizedBox( + height: 400, + child: Image.file(File(_result!.images!.first))), + ], ], - ], + ), ), ), ); } - void startScan(DocumentFormat format) async { + void startScan(Set formats) async { try { _result = null; setState(() {}); _documentScanner?.close(); _documentScanner = DocumentScanner( options: DocumentScannerOptions( - documentFormat: format, + documentFormats: formats, mode: ScannerMode.full, isGalleryImport: false, pageLimit: 1, diff --git a/packages/example/pubspec.yaml b/packages/example/pubspec.yaml index 8ff9af6d..7266d811 100644 --- a/packages/example/pubspec.yaml +++ b/packages/example/pubspec.yaml @@ -1,14 +1,14 @@ name: google_ml_kit_example description: "Demonstrates how to use the google_ml_kit plugin." - +resolution: workspace # The following line prevents the package from being accidentally published to # pub.dev using `pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: '>=3.4.0 <4.0.0' - flutter: '>=3.22.0' + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: camera: ^0.11.1 @@ -21,42 +21,26 @@ dependencies: path: ^1.9.1 path_provider: ^2.1.5 - google_mlkit_commons: any + google_mlkit_commons: google_mlkit_barcode_scanning: - path: ../google_mlkit_barcode_scanning google_mlkit_digital_ink_recognition: - path: ../google_mlkit_digital_ink_recognition google_mlkit_document_scanner: - path: ../google_mlkit_document_scanner google_mlkit_face_detection: - path: ../google_mlkit_face_detection google_mlkit_face_mesh_detection: - path: ../google_mlkit_face_mesh_detection google_mlkit_image_labeling: - path: ../google_mlkit_image_labeling google_mlkit_object_detection: - path: ../google_mlkit_object_detection google_mlkit_pose_detection: - path: ../google_mlkit_pose_detection google_mlkit_selfie_segmentation: - path: ../google_mlkit_selfie_segmentation google_mlkit_subject_segmentation: - path: ../google_mlkit_subject_segmentation google_mlkit_text_recognition: - path: ../google_mlkit_text_recognition google_mlkit_entity_extraction: - path: ../google_mlkit_entity_extraction google_mlkit_language_id: - path: ../google_mlkit_language_id google_mlkit_translation: - path: ../google_mlkit_translation google_mlkit_smart_reply: - path: ../google_mlkit_smart_reply -dependency_overrides: - google_mlkit_commons: - path: ../google_mlkit_commons +# dependency_overrides: +# google_mlkit_commons: dev_dependencies: flutter_lints: ^6.0.0 diff --git a/packages/google_ml_kit/pubspec.yaml b/packages/google_ml_kit/pubspec.yaml index 89493457..81aa6420 100644 --- a/packages/google_ml_kit/pubspec.yaml +++ b/packages/google_ml_kit/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use all APIs from Google's standalone ML Kit f version: 0.20.0 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_ml_kit +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_barcode_scanning/pubspec.yaml b/packages/google_mlkit_barcode_scanning/pubspec.yaml index 47e5e4de..e1f4b858 100644 --- a/packages/google_mlkit_barcode_scanning/pubspec.yaml +++ b/packages/google_mlkit_barcode_scanning/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Barcode Scanning to read d version: 0.14.1 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_barcode_scanning +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_commons/pubspec.yaml b/packages/google_mlkit_commons/pubspec.yaml index 4c4d5eed..6d2f2392 100644 --- a/packages/google_mlkit_commons/pubspec.yaml +++ b/packages/google_mlkit_commons/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin with commons files to implement google's standalo version: 0.11.0 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_commons +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_digital_ink_recognition/pubspec.yaml b/packages/google_mlkit_digital_ink_recognition/pubspec.yaml index 89da751f..a0089c1d 100644 --- a/packages/google_mlkit_digital_ink_recognition/pubspec.yaml +++ b/packages/google_mlkit_digital_ink_recognition/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Digital Ink Recognition to version: 0.14.1 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_digital_ink_recognition +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_document_scanner/README.md b/packages/google_mlkit_document_scanner/README.md index b2d1140b..51140978 100644 --- a/packages/google_mlkit_document_scanner/README.md +++ b/packages/google_mlkit_document_scanner/README.md @@ -55,7 +55,7 @@ The document scanner API provides a high-quality fully fledged UI flow that is c ### iOS -This feature is still in Beta, and it is only available for Android. Stay tune for updates in [Google's website](https://developers.google.com/ml-kit/vision/doc-scanner) and request the feature [here](https://github.com/googlesamples/mlkit/issues). +This feature is only available for Android. Stay tune for updates in [Google's website](https://developers.google.com/ml-kit/vision/doc-scanner) and request the feature [here](https://github.com/googlesamples/mlkit/issues). ### Android @@ -70,8 +70,13 @@ This feature is still in Beta, and it is only available for Android. Stay tune f #### Create an instance of `DocumentScannerOptions` ```dart +// set output document formats +const Set documentFormats = { + DocumentFormat.jpeg, + DocumentFormat.pdf +}; DocumentScannerOptions documentOptions = DocumentScannerOptions( - documentFormat: DocumentFormat.jpeg, // set output document format + documentFormats: documentFormats, mode: ScannerMode.filter, // to control what features are enabled pageLimit: 1, // setting a limit to the number of pages scanned isGalleryImport: true, // importing from the photo gallery diff --git a/packages/google_mlkit_document_scanner/android/build.gradle b/packages/google_mlkit_document_scanner/android/build.gradle index 91147c2d..8264c2d4 100644 --- a/packages/google_mlkit_document_scanner/android/build.gradle +++ b/packages/google_mlkit_document_scanner/android/build.gradle @@ -36,6 +36,6 @@ android { } dependencies { - implementation("com.google.android.gms:play-services-mlkit-document-scanner:16.0.0-beta1") + implementation("com.google.android.gms:play-services-mlkit-document-scanner:16.0.0") } } diff --git a/packages/google_mlkit_document_scanner/android/gradle/wrapper/gradle-wrapper.properties b/packages/google_mlkit_document_scanner/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000..128196a7 --- /dev/null +++ b/packages/google_mlkit_document_scanner/android/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,7 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-9.0-milestone-1-bin.zip +networkTimeout=10000 +validateDistributionUrl=true +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/packages/google_mlkit_document_scanner/android/src/main/java/com/google_mlkit_document_scanner/DocumentScanner.java b/packages/google_mlkit_document_scanner/android/src/main/java/com/google_mlkit_document_scanner/DocumentScanner.java index 7b84f182..2720b220 100644 --- a/packages/google_mlkit_document_scanner/android/src/main/java/com/google_mlkit_document_scanner/DocumentScanner.java +++ b/packages/google_mlkit_document_scanner/android/src/main/java/com/google_mlkit_document_scanner/DocumentScanner.java @@ -95,17 +95,21 @@ public void onFailure(@NonNull Exception e) { private GmsDocumentScannerOptions parseOptions(Map options) { boolean isGalleryImportAllowed = (boolean) options.get("isGalleryImport"); int pageLimit = (int) options.get("pageLimit"); - int format; - switch ((String) Objects.requireNonNull(options.get("format"))) { - case "pdf": - format = GmsDocumentScannerOptions.RESULT_FORMAT_PDF; - break; - case "jpeg": - format = GmsDocumentScannerOptions.RESULT_FORMAT_JPEG; - break; - default: - throw new IllegalArgumentException("Not a format:" + options.get("format")); + List formatStrings = (List) options.get("formats"); + List formatConstants = new ArrayList<>(); + for (String format: formatStrings) { + switch (format) { + case "pdf": + formatConstants.add(GmsDocumentScannerOptions.RESULT_FORMAT_PDF); + break; + case "jpeg": + formatConstants.add(GmsDocumentScannerOptions.RESULT_FORMAT_JPEG); + break; + default: + throw new IllegalArgumentException("Not a format:" + options.get("format")); + } } + int mode; switch ((String) options.get("mode")) { case "base": @@ -120,7 +124,21 @@ private GmsDocumentScannerOptions parseOptions(Map options) { default: throw new IllegalArgumentException("Not a mode:" + options.get("mode")); } - GmsDocumentScannerOptions.Builder builder = new GmsDocumentScannerOptions.Builder().setGalleryImportAllowed(isGalleryImportAllowed).setPageLimit(pageLimit).setResultFormats(format).setScannerMode(mode); + GmsDocumentScannerOptions.Builder builder = new GmsDocumentScannerOptions + .Builder() + .setGalleryImportAllowed(isGalleryImportAllowed) + .setPageLimit(pageLimit) + .setScannerMode(mode); + + // Set formats + if (!formatConstants.isEmpty()) { + if(formatConstants.size() > 1) { + builder.setResultFormats(formatConstants.get(0), formatConstants.get(1)); + } else { + builder.setResultFormats(formatConstants.get(0)); + } + + } return builder.build(); } diff --git a/packages/google_mlkit_document_scanner/lib/src/document_scanner.dart b/packages/google_mlkit_document_scanner/lib/src/document_scanner.dart index 1a6a501a..911b3765 100644 --- a/packages/google_mlkit_document_scanner/lib/src/document_scanner.dart +++ b/packages/google_mlkit_document_scanner/lib/src/document_scanner.dart @@ -35,7 +35,7 @@ class DocumentScanner { class DocumentScannerOptions { /// Constructor for [DocumentScannerOptions]. DocumentScannerOptions({ - this.documentFormat = DocumentFormat.jpeg, + this.documentFormats = const {DocumentFormat.jpeg}, this.pageLimit = 1, this.mode = ScannerMode.full, this.isGalleryImport = false, @@ -46,7 +46,7 @@ class DocumentScannerOptions { /// Sets scanner result formats. /// Available formats: PDF, JPG and default format is JPG. - final DocumentFormat documentFormat; + final Set documentFormats; /// Sets the scanner mode which determines what features are enabled. default = ScannerModel.full. final ScannerMode mode; @@ -57,7 +57,7 @@ class DocumentScannerOptions { /// Returns a json representation of an instance of [DocumentScannerOptions]. Map toJson() => { 'pageLimit': pageLimit, - 'format': documentFormat.name, + 'formats': documentFormats.map((f) => f.name).toList(), 'mode': mode.name, 'isGalleryImport': isGalleryImport, }; @@ -82,7 +82,7 @@ class DocumentScanningResult { final DocumentScanningResultPdf? pdf; /// Returns the scanned images or null if `DocumentFormat.jpeg` was not specified when creating the scanner options. - final List images; + final List? images; /// Constructor to create an instance of [DocumentScanningResult]. DocumentScanningResult({required this.pdf, required this.images}); diff --git a/packages/google_mlkit_document_scanner/pubspec.yaml b/packages/google_mlkit_document_scanner/pubspec.yaml index ec912ace..f93b2c76 100644 --- a/packages/google_mlkit_document_scanner/pubspec.yaml +++ b/packages/google_mlkit_document_scanner/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use the ML Kit document scanner API to easily version: 0.4.0 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_document_scanner +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_entity_extraction/pubspec.yaml b/packages/google_mlkit_entity_extraction/pubspec.yaml index 8fb877c6..83aa7dc5 100644 --- a/packages/google_mlkit_entity_extraction/pubspec.yaml +++ b/packages/google_mlkit_entity_extraction/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Entity Extractor API to re version: 0.15.2 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_entity_extraction +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_face_detection/pubspec.yaml b/packages/google_mlkit_face_detection/pubspec.yaml index 8515c0f5..4efbde99 100644 --- a/packages/google_mlkit_face_detection/pubspec.yaml +++ b/packages/google_mlkit_face_detection/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Face Detection to detect f version: 0.13.1 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_face_detection +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_face_mesh_detection/pubspec.yaml b/packages/google_mlkit_face_mesh_detection/pubspec.yaml index 881fc2dc..ac8834af 100644 --- a/packages/google_mlkit_face_mesh_detection/pubspec.yaml +++ b/packages/google_mlkit_face_mesh_detection/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Face Mesh Detection." version: 0.4.1 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_face_mesh_detection +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_image_labeling/pubspec.yaml b/packages/google_mlkit_image_labeling/pubspec.yaml index c70eefda..0cb90b5d 100644 --- a/packages/google_mlkit_image_labeling/pubspec.yaml +++ b/packages/google_mlkit_image_labeling/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Image Labeling to detect a version: 0.14.1 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_image_labeling +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_language_id/pubspec.yaml b/packages/google_mlkit_language_id/pubspec.yaml index e067ef13..12314169 100644 --- a/packages/google_mlkit_language_id/pubspec.yaml +++ b/packages/google_mlkit_language_id/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Language Identification to version: 0.13.0 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_language_id +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_object_detection/pubspec.yaml b/packages/google_mlkit_object_detection/pubspec.yaml index 9582818b..86c57c83 100644 --- a/packages/google_mlkit_object_detection/pubspec.yaml +++ b/packages/google_mlkit_object_detection/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Object Detection and Track version: 0.15.0 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_object_detection +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_pose_detection/pubspec.yaml b/packages/google_mlkit_pose_detection/pubspec.yaml index 3e3e7445..746504bd 100644 --- a/packages/google_mlkit_pose_detection/pubspec.yaml +++ b/packages/google_mlkit_pose_detection/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Pose Detection to detect t version: 0.14.0 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_pose_detection +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_selfie_segmentation/pubspec.yaml b/packages/google_mlkit_selfie_segmentation/pubspec.yaml index 85e408a0..898cab71 100644 --- a/packages/google_mlkit_selfie_segmentation/pubspec.yaml +++ b/packages/google_mlkit_selfie_segmentation/pubspec.yaml @@ -3,10 +3,11 @@ description: "Flutter plugin to use Google's ML Kit Selfie Segmentation API to e version: 0.10.0 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_selfie_segmentation +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_smart_reply/pubspec.yaml b/packages/google_mlkit_smart_reply/pubspec.yaml index 0d7f2fd0..ba38bec8 100644 --- a/packages/google_mlkit_smart_reply/pubspec.yaml +++ b/packages/google_mlkit_smart_reply/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Smart Reply API to automat version: 0.13.0 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_smart_reply +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_subject_segmentation/pubspec.yaml b/packages/google_mlkit_subject_segmentation/pubspec.yaml index 0c0a50af..9c08eb6e 100644 --- a/packages/google_mlkit_subject_segmentation/pubspec.yaml +++ b/packages/google_mlkit_subject_segmentation/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Selfie Segmentation API to version: 0.0.2 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_subject_segmentation +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_text_recognition/pubspec.yaml b/packages/google_mlkit_text_recognition/pubspec.yaml index 2ebbb97b..bd5250ab 100644 --- a/packages/google_mlkit_text_recognition/pubspec.yaml +++ b/packages/google_mlkit_text_recognition/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit Text Recognition to recogn version: 0.15.0 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_text_recognition +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/google_mlkit_translation/pubspec.yaml b/packages/google_mlkit_translation/pubspec.yaml index 6b7725c7..f3c821f2 100644 --- a/packages/google_mlkit_translation/pubspec.yaml +++ b/packages/google_mlkit_translation/pubspec.yaml @@ -3,10 +3,11 @@ description: "A Flutter plugin to use Google's ML Kit On-Device Translation to d version: 0.13.0 homepage: https://github.com/flutter-ml/google_ml_kit_flutter repository: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_translation +resolution: workspace environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" dependencies: flutter: diff --git a/packages/example/pubspec.lock b/pubspec.lock similarity index 57% rename from packages/example/pubspec.lock rename to pubspec.lock index 2dd01c9c..ee21f63e 100644 --- a/packages/example/pubspec.lock +++ b/pubspec.lock @@ -1,6 +1,22 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: + ansi_styles: + dependency: transitive + description: + name: ansi_styles + sha256: "9c656cc12b3c27b17dd982b2cc5c0cfdfbdabd7bc8f3ae5e8542d9867b47ce8a" + url: "https://pub.dev" + source: hosted + version: "0.3.2+1" + args: + dependency: transitive + description: + name: args + sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04 + url: "https://pub.dev" + source: hosted + version: "2.7.0" async: dependency: transitive description: @@ -18,53 +34,53 @@ packages: source: hosted version: "2.1.2" camera: - dependency: "direct main" + dependency: transitive description: name: camera - sha256: d6ec2cbdbe2fa8f5e0d07d8c06368fe4effa985a4a5ddade9cc58a8cd849557d + sha256: eefad89f262a873f38d21e5eec853461737ea074d7c9ede39f3ceb135d201cab url: "https://pub.dev" source: hosted - version: "0.11.2" + version: "0.11.3" camera_android: - dependency: "direct main" + dependency: transitive description: name: camera_android - sha256: cd49ccb409201a893bf625dca2df8746b88679f302826ab4d12748788a3a24b3 + sha256: "50c0d1c4b122163e3d7cdfcd6d4cd8078aac27d0f1cd1e7b3fa69e6b3f06f4b7" url: "https://pub.dev" source: hosted - version: "0.10.10+7" + version: "0.10.10+14" camera_android_camerax: dependency: transitive description: name: camera_android_camerax - sha256: "2d438248554f44766bf9ea34c117a5bb0074e241342ef7c22c768fb431335234" + sha256: bc7a96998258adddd0b653dd693b0874537707d58b0489708f2a646e4f124246 url: "https://pub.dev" source: hosted - version: "0.6.21" + version: "0.6.27" camera_avfoundation: dependency: transitive description: name: camera_avfoundation - sha256: "951ef122d01ebba68b7a54bfe294e8b25585635a90465c311b2f875ae72c412f" + sha256: a600b60a7752cc5fa9de476cd0055539d7a3b9d62662f4f446bae49eba2267df url: "https://pub.dev" source: hosted - version: "0.9.21+2" + version: "0.9.22+9" camera_platform_interface: dependency: transitive description: name: camera_platform_interface - sha256: "2f757024a48696ff4814a789b0bd90f5660c0fb25f393ab4564fb483327930e2" + sha256: "98cfc9357e04bad617671b4c1f78a597f25f08003089dd94050709ae54effc63" url: "https://pub.dev" source: hosted - version: "2.10.0" + version: "2.12.0" camera_web: dependency: transitive description: name: camera_web - sha256: "595f28c89d1fb62d77c73c633193755b781c6d2e0ebcd8dc25b763b514e6ba8f" + sha256: "57f49a635c8bf249d07fb95eb693d7e4dda6796dedb3777f9127fb54847beba7" url: "https://pub.dev" source: hosted - version: "0.3.5" + version: "0.3.5+3" characters: dependency: transitive description: @@ -73,6 +89,38 @@ packages: url: "https://pub.dev" source: hosted version: "1.4.0" + charcode: + dependency: transitive + description: + name: charcode + sha256: fb0f1107cac15a5ea6ef0a6ef71a807b9e4267c713bb93e00e92d737cc8dbd8a + url: "https://pub.dev" + source: hosted + version: "1.4.0" + checked_yaml: + dependency: transitive + description: + name: checked_yaml + sha256: "959525d3162f249993882720d52b7e0c833978df229be20702b33d48d91de70f" + url: "https://pub.dev" + source: hosted + version: "2.0.4" + cli_launcher: + dependency: transitive + description: + name: cli_launcher + sha256: "17d2744fb9a254c49ec8eda582536abe714ea0131533e24389843a4256f82eac" + url: "https://pub.dev" + source: hosted + version: "0.3.2+1" + cli_util: + dependency: transitive + description: + name: cli_util + sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c + url: "https://pub.dev" + source: hosted + version: "0.4.2" clock: dependency: transitive description: @@ -81,6 +129,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.2" + code_assets: + dependency: transitive + description: + name: code_assets + sha256: "83ccdaa064c980b5596c35dd64a8d3ecc68620174ab9b90b6343b753aa721687" + url: "https://pub.dev" + source: hosted + version: "1.0.0" collection: dependency: transitive description: @@ -89,14 +145,30 @@ packages: url: "https://pub.dev" source: hosted version: "1.19.1" + conventional_commit: + dependency: transitive + description: + name: conventional_commit + sha256: c40b1b449ce2a63fa2ce852f35e3890b1e182f5951819934c0e4a66254bc0dc3 + url: "https://pub.dev" + source: hosted + version: "0.6.1+1" cross_file: dependency: transitive description: name: cross_file - sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670" + sha256: "701dcfc06da0882883a2657c445103380e53e647060ad8d9dfb710c100996608" url: "https://pub.dev" source: hosted - version: "0.3.4+2" + version: "0.3.5+1" + crypto: + dependency: transitive + description: + name: crypto + sha256: c8ea0233063ba03258fbcf2ca4d6dadfefe14f02fab57702265467a19f27fadf + url: "https://pub.dev" + source: hosted + version: "3.0.7" fake_async: dependency: transitive description: @@ -109,49 +181,57 @@ packages: dependency: transitive description: name: ffi - sha256: "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418" + sha256: d07d37192dbf97461359c1518788f203b0c9102cfd2c35a716b823741219542c url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.5" + file: + dependency: transitive + description: + name: file + sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 + url: "https://pub.dev" + source: hosted + version: "7.0.1" file_selector_linux: dependency: transitive description: name: file_selector_linux - sha256: "54cbbd957e1156d29548c7d9b9ec0c0ebb6de0a90452198683a7d23aed617a33" + sha256: "2567f398e06ac72dcf2e98a0c95df2a9edd03c2c2e0cacd4780f20cdf56263a0" url: "https://pub.dev" source: hosted - version: "0.9.3+2" + version: "0.9.4" file_selector_macos: dependency: transitive description: name: file_selector_macos - sha256: "19124ff4a3d8864fdc62072b6a2ef6c222d55a3404fe14893a3c02744907b60c" + sha256: "5e0bbe9c312416f1787a68259ea1505b52f258c587f12920422671807c4d618a" url: "https://pub.dev" source: hosted - version: "0.9.4+4" + version: "0.9.5" file_selector_platform_interface: dependency: transitive description: name: file_selector_platform_interface - sha256: a3994c26f10378a039faa11de174d7b78eb8f79e4dd0af2a451410c1a5c3f66b + sha256: "35e0bd61ebcdb91a3505813b055b09b79dfdc7d0aee9c09a7ba59ae4bb13dc85" url: "https://pub.dev" source: hosted - version: "2.6.2" + version: "2.7.0" file_selector_windows: dependency: transitive description: name: file_selector_windows - sha256: "320fcfb6f33caa90f0b58380489fc5ac05d99ee94b61aa96ec2bff0ba81d3c2b" + sha256: "62197474ae75893a62df75939c777763d39c2bc5f73ce5b88497208bc269abfd" url: "https://pub.dev" source: hosted - version: "0.9.3+4" + version: "0.9.3+5" flutter: - dependency: "direct main" + dependency: transitive description: flutter source: sdk version: "0.0.0" flutter_lints: - dependency: "direct dev" + dependency: transitive description: name: flutter_lints sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1" @@ -159,23 +239,23 @@ packages: source: hosted version: "6.0.0" flutter_pdfview: - dependency: "direct main" + dependency: transitive description: name: flutter_pdfview - sha256: c402ad1f51ba8ea73b9fb04c003ca0a9286118ba5ac9787ee2aa58956b3fcf8a + sha256: "5b80e89f3ba6e478d1e897543c9634508284ad73476807febc188378986b69ee" url: "https://pub.dev" source: hosted - version: "1.4.1+1" + version: "1.4.4" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle - sha256: b0694b7fb1689b0e6cc193b3f1fcac6423c4f93c74fb20b806c6b6f196db0c31 + sha256: ee8068e0e1cd16c4a82714119918efdeed33b3ba7772c54b5d094ab53f9b7fd1 url: "https://pub.dev" source: hosted - version: "2.0.30" + version: "2.0.33" flutter_test: - dependency: "direct dev" + dependency: transitive description: flutter source: sdk version: "0.0.0" @@ -184,126 +264,38 @@ packages: description: flutter source: sdk version: "0.0.0" - google_mlkit_barcode_scanning: - dependency: "direct main" - description: - path: "../google_mlkit_barcode_scanning" - relative: true - source: path - version: "0.14.1" - google_mlkit_commons: - dependency: "direct main" - description: - path: "../google_mlkit_commons" - relative: true - source: path - version: "0.11.0" - google_mlkit_digital_ink_recognition: - dependency: "direct main" - description: - path: "../google_mlkit_digital_ink_recognition" - relative: true - source: path - version: "0.14.1" - google_mlkit_document_scanner: - dependency: "direct main" - description: - path: "../google_mlkit_document_scanner" - relative: true - source: path - version: "0.4.0" - google_mlkit_entity_extraction: - dependency: "direct main" - description: - path: "../google_mlkit_entity_extraction" - relative: true - source: path - version: "0.15.1" - google_mlkit_face_detection: - dependency: "direct main" - description: - path: "../google_mlkit_face_detection" - relative: true - source: path - version: "0.13.1" - google_mlkit_face_mesh_detection: - dependency: "direct main" - description: - path: "../google_mlkit_face_mesh_detection" - relative: true - source: path - version: "0.4.1" - google_mlkit_image_labeling: - dependency: "direct main" - description: - path: "../google_mlkit_image_labeling" - relative: true - source: path - version: "0.14.1" - google_mlkit_language_id: - dependency: "direct main" - description: - path: "../google_mlkit_language_id" - relative: true - source: path - version: "0.13.0" - google_mlkit_object_detection: - dependency: "direct main" - description: - path: "../google_mlkit_object_detection" - relative: true - source: path - version: "0.15.0" - google_mlkit_pose_detection: - dependency: "direct main" - description: - path: "../google_mlkit_pose_detection" - relative: true - source: path - version: "0.14.0" - google_mlkit_selfie_segmentation: - dependency: "direct main" - description: - path: "../google_mlkit_selfie_segmentation" - relative: true - source: path - version: "0.10.0" - google_mlkit_smart_reply: - dependency: "direct main" - description: - path: "../google_mlkit_smart_reply" - relative: true - source: path - version: "0.13.0" - google_mlkit_subject_segmentation: - dependency: "direct main" - description: - path: "../google_mlkit_subject_segmentation" - relative: true - source: path - version: "0.0.2" - google_mlkit_text_recognition: - dependency: "direct main" - description: - path: "../google_mlkit_text_recognition" - relative: true - source: path - version: "0.15.0" - google_mlkit_translation: - dependency: "direct main" - description: - path: "../google_mlkit_translation" - relative: true - source: path - version: "0.13.0" + glob: + dependency: transitive + description: + name: glob + sha256: c3f1ee72c96f8f78935e18aa8cecced9ab132419e8625dc187e1c2408efc20de + url: "https://pub.dev" + source: hosted + version: "2.1.3" + graphs: + dependency: transitive + description: + name: graphs + sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0" + url: "https://pub.dev" + source: hosted + version: "2.3.2" + hooks: + dependency: transitive + description: + name: hooks + sha256: "5d309c86e7ce34cd8e37aa71cb30cb652d3829b900ab145e4d9da564b31d59f7" + url: "https://pub.dev" + source: hosted + version: "1.0.0" http: dependency: transitive description: name: http - sha256: bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007 + sha256: "87721a4a50b19c7f1d49001e51409bddc46303966ce89a65af4f4e6004896412" url: "https://pub.dev" source: hosted - version: "1.5.0" + version: "1.6.0" http_parser: dependency: transitive description: @@ -313,37 +305,37 @@ packages: source: hosted version: "4.1.2" image_picker: - dependency: "direct main" + dependency: transitive description: name: image_picker - sha256: "736eb56a911cf24d1859315ad09ddec0b66104bc41a7f8c5b96b4e2620cf5041" + sha256: "784210112be18ea55f69d7076e2c656a4e24949fa9e76429fe53af0c0f4fa320" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.2.1" image_picker_android: dependency: transitive description: name: image_picker_android - sha256: a45bef33deb24839a51fb85a4d9e504ead2b1ad1c4779d02d09bf6a8857cdd52 + sha256: "297e42bd236c4ac4b091d4277292159b3280545e030cae2be3d503f9ecf7e6a1" url: "https://pub.dev" source: hosted - version: "0.8.13+2" + version: "0.8.13+12" image_picker_for_web: dependency: transitive description: name: image_picker_for_web - sha256: "40c2a6a0da15556dc0f8e38a3246064a971a9f512386c3339b89f76db87269b6" + sha256: "66257a3191ab360d23a55c8241c91a6e329d31e94efa7be9cf7a212e65850214" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "3.1.1" image_picker_ios: dependency: transitive description: name: image_picker_ios - sha256: eb06fe30bab4c4497bad449b66448f50edcc695f1c59408e78aa3a8059eb8f0e + sha256: "956c16a42c0c708f914021666ffcd8265dde36e673c9fa68c81f7d085d9774ad" url: "https://pub.dev" source: hosted - version: "0.8.13" + version: "0.8.13+3" image_picker_linux: dependency: transitive description: @@ -356,18 +348,18 @@ packages: dependency: transitive description: name: image_picker_macos - sha256: d58cd9d67793d52beefd6585b12050af0a7663c0c2a6ece0fb110a35d6955e04 + sha256: "86f0f15a309de7e1a552c12df9ce5b59fe927e71385329355aec4776c6a8ec91" url: "https://pub.dev" source: hosted - version: "0.2.2" + version: "0.2.2+1" image_picker_platform_interface: dependency: transitive description: name: image_picker_platform_interface - sha256: "9f143b0dba3e459553209e20cc425c9801af48e6dfa4f01a0fcf927be3f41665" + sha256: "567e056716333a1647c64bb6bd873cff7622233a5c3f694be28a583d4715690c" url: "https://pub.dev" source: hosted - version: "2.11.0" + version: "2.11.1" image_picker_windows: dependency: transitive description: @@ -376,6 +368,22 @@ packages: url: "https://pub.dev" source: hosted version: "0.2.2" + io: + dependency: transitive + description: + name: io + sha256: dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b + url: "https://pub.dev" + source: hosted + version: "1.0.5" + json_annotation: + dependency: transitive + description: + name: json_annotation + sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" + url: "https://pub.dev" + source: hosted + version: "4.9.0" leak_tracker: dependency: transitive description: @@ -408,6 +416,14 @@ packages: url: "https://pub.dev" source: hosted version: "6.0.0" + logging: + dependency: transitive + description: + name: logging + sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 + url: "https://pub.dev" + source: hosted + version: "1.3.0" matcher: dependency: transitive description: @@ -424,6 +440,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.11.1" + melos: + dependency: "direct dev" + description: + name: melos + sha256: ff2da25990d83b0db883eb257e4fa25eb78150a329e7bfab7a379499d0f5f6f7 + url: "https://pub.dev" + source: hosted + version: "7.3.0" meta: dependency: transitive description: @@ -440,8 +464,32 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.0" + mustache_template: + dependency: transitive + description: + name: mustache_template + sha256: "4326d0002ff58c74b9486990ccbdab08157fca3c996fe9e197aff9d61badf307" + url: "https://pub.dev" + source: hosted + version: "2.0.3" + native_toolchain_c: + dependency: transitive + description: + name: native_toolchain_c + sha256: "89e83885ba09da5fdf2cdacc8002a712ca238c28b7f717910b34bcd27b0d03ac" + url: "https://pub.dev" + source: hosted + version: "0.17.4" + objective_c: + dependency: transitive + description: + name: objective_c + sha256: "7fd0c4d8ac8980011753b9bdaed2bf15111365924cdeeeaeb596214ea2b03537" + url: "https://pub.dev" + source: hosted + version: "9.2.4" path: - dependency: "direct main" + dependency: transitive description: name: path sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" @@ -449,7 +497,7 @@ packages: source: hosted version: "1.9.1" path_provider: - dependency: "direct main" + dependency: transitive description: name: path_provider sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" @@ -460,18 +508,18 @@ packages: dependency: transitive description: name: path_provider_android - sha256: "993381400e94d18469750e5b9dcb8206f15bc09f9da86b9e44a9b0092a0066db" + sha256: f2c65e21139ce2c3dad46922be8272bb5963516045659e71bb16e151c93b580e url: "https://pub.dev" source: hosted - version: "2.2.18" + version: "2.2.22" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: "16eef174aacb07e09c351502740fa6254c165757638eba1e9116b0a781201bbd" + sha256: "2a376b7d6392d80cd3705782d2caa734ca4727776db0b6ec36ef3f1855197699" url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.6.0" path_provider_linux: dependency: transitive description: @@ -496,6 +544,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.3.0" + petitparser: + dependency: transitive + description: + name: petitparser + sha256: "1a97266a94f7350d30ae522c0af07890c70b8e62c71e8e3920d1db4d23c057d1" + url: "https://pub.dev" + source: hosted + version: "7.0.1" platform: dependency: transitive description: @@ -512,6 +568,54 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.8" + pool: + dependency: transitive + description: + name: pool + sha256: "978783255c543aa3586a1b3c21f6e9d720eb315376a915872c61ef8b5c20177d" + url: "https://pub.dev" + source: hosted + version: "1.5.2" + process: + dependency: transitive + description: + name: process + sha256: c6248e4526673988586e8c00bb22a49210c258dc91df5227d5da9748ecf79744 + url: "https://pub.dev" + source: hosted + version: "5.0.5" + prompts: + dependency: transitive + description: + name: prompts + sha256: "3773b845e85a849f01e793c4fc18a45d52d7783b4cb6c0569fad19f9d0a774a1" + url: "https://pub.dev" + source: hosted + version: "2.0.0" + pub_semver: + dependency: transitive + description: + name: pub_semver + sha256: "5bfcf68ca79ef689f8990d1160781b4bad40a3bd5e5218ad4076ddb7f4081585" + url: "https://pub.dev" + source: hosted + version: "2.2.0" + pub_updater: + dependency: transitive + description: + name: pub_updater + sha256: "739a0161d73a6974c0675b864fb0cf5147305f7b077b7f03a58fa7a9ab3e7e7d" + url: "https://pub.dev" + source: hosted + version: "0.5.0" + pubspec_parse: + dependency: transitive + description: + name: pubspec_parse + sha256: "0560ba233314abbed0a48a2956f7f022cce7c3e1e73df540277da7544cad4082" + url: "https://pub.dev" + source: hosted + version: "1.5.0" sky_engine: dependency: transitive description: flutter @@ -613,6 +717,30 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.0" + xml: + dependency: transitive + description: + name: xml + sha256: "971043b3a0d3da28727e40ed3e0b5d18b742fa5a68665cca88e74b7876d5e025" + url: "https://pub.dev" + source: hosted + version: "6.6.1" + yaml: + dependency: transitive + description: + name: yaml + sha256: b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce + url: "https://pub.dev" + source: hosted + version: "3.1.3" + yaml_edit: + dependency: transitive + description: + name: yaml_edit + sha256: ec709065bb2c911b336853b67f3732dd13e0336bd065cc2f1061d7610ddf45e3 + url: "https://pub.dev" + source: hosted + version: "2.2.3" sdks: - dart: ">=3.9.0 <4.0.0" - flutter: ">=3.35.0" + dart: ">=3.10.3 <4.0.0" + flutter: ">=3.38.4" diff --git a/pubspec.yaml b/pubspec.yaml new file mode 100644 index 00000000..c2e0e991 --- /dev/null +++ b/pubspec.yaml @@ -0,0 +1,42 @@ +name: _ +repository: https://github.com/flutter-ml/google_ml_kit_flutter +workspace: + - packages/example + - packages/google_ml_kit + - packages/google_mlkit_barcode_scanning + - packages/google_mlkit_commons + - packages/google_mlkit_digital_ink_recognition + - packages/google_mlkit_document_scanner + - packages/google_mlkit_entity_extraction + - packages/google_mlkit_face_detection + - packages/google_mlkit_face_mesh_detection + - packages/google_mlkit_image_labeling + - packages/google_mlkit_language_id + - packages/google_mlkit_object_detection + - packages/google_mlkit_pose_detection + - packages/google_mlkit_selfie_segmentation + - packages/google_mlkit_smart_reply + - packages/google_mlkit_subject_segmentation + - packages/google_mlkit_text_recognition + - packages/google_mlkit_translation + +environment: + sdk: ">=3.8.0 <4.0.0" + flutter: ">=3.32.0" + +dev_dependencies: + melos: ^7.3.0 + +# melos: +# command: +# version: +# # Only allow versioning to happen on master branch +# branch: master +# # Generates a link to a prefilled Github release creation page. +# releaseUrl: true +# includeCommentId: true +# linkToCommits: true + +# bootstrap: +# environment: + \ No newline at end of file