google_vision 1.4.0+1 copy "google_vision: ^1.4.0+1" to clipboard
google_vision: ^1.4.0+1 copied to clipboard

Allows you to add Google Visions image labeling, face, logo, and landmark detection, OCR, and detection of explicit content, into cross platform applications.

39
likes
130/ 160
pub points
81
downloads

We analyzed this package 39 hours ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

346 out of 615 API elements (56.3 %) have documentation comments.

Some symbols that are missing documentation: google_vision.AnnotateFileRequest.AnnotateFileRequest.fromJson, google_vision.AnnotateFileRequest.AnnotateFileRequest.new, google_vision.AnnotateFileRequest.toJson, google_vision.AnnotateFileResponse, google_vision.AnnotateFileResponse.AnnotateFileResponse.fromJson.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:google_vision/google_vision.dart that imports:
  • package:google_vision/src/model/json_image.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:google_vision/google_vision.dart that imports:
  • package:google_vision/src/model/json_image.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

WARNING: A value for optional parameter 'errorLogger' isn't ever given.

lib/src/provider/files.g.dart:15:10

   ╷
15 │     this.errorLogger,
   │          ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/provider/files.g.dart

WARNING: A value for optional parameter 'errorLogger' isn't ever given.

lib/src/provider/images.g.dart:15:10

   ╷
15 │     this.errorLogger,
   │          ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/provider/images.g.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
args ^2.5.0 2.7.0 2.7.0
collection ^1.18.0 1.19.1 1.19.1
crypto_keys_plus ^0.4.0 0.4.0 0.4.0
dio ^5.7.0 5.8.0+1 5.8.0+1
http ^1.2.2 1.3.0 1.3.0
image ^4.1.7 4.5.4 4.5.4
jose_plus ^0.4.6 0.4.6 0.4.6
json_annotation ^4.9.0 4.9.0 4.9.0
mime ^1.0.6 1.0.6 2.0.0
retrofit ^4.4.0 4.4.2 4.4.2
universal_io ^2.2.2 2.2.2 2.2.2
universal_platform ^1.1.0 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.6 4.0.6
asn1lib - 1.6.3 1.6.3
async - 2.13.0 2.13.0
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 6.1.0
pointycastle - 3.9.1 4.0.0
posix - 6.0.2 6.0.2
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1
x509_plus - 0.3.2 0.3.2
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.0.6` on mime does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions mime to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
39
likes
130
points
81
downloads

Publisher

verified publishermuayid.com

Weekly Downloads

Allows you to add Google Visions image labeling, face, logo, and landmark detection, OCR, and detection of explicit content, into cross platform applications.

Homepage
Repository (GitHub)

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

args, collection, crypto_keys_plus, dio, http, image, jose_plus, json_annotation, mime, retrofit, universal_io, universal_platform

More

Packages that depend on google_vision