firebase_vertexai 1.5.0 copy "firebase_vertexai: ^1.5.0" to clipboard
firebase_vertexai: ^1.5.0 copied to clipboard

Firebase Vertex AI SDK.

107
likes
140/ 160
pub points
28.2k
downloads

We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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: Apache-2.0.

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

255 out of 297 API elements (85.9 %) have documentation comments.

Some symbols that are missing documentation: firebase_vertexai, firebase_vertexai.Candidate.Candidate.new, firebase_vertexai.Citation.Citation.new, firebase_vertexai.CitationMetadata.CitationMetadata.new, firebase_vertexai.Content.Content.new.

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 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:firebase_vertexai/firebase_vertexai.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:firebase_vertexai/firebase_vertexai.dart that declares support for platforms: Android, iOS, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:firebase_vertexai/firebase_vertexai.dart that imports:
  • package:firebase_vertexai/src/firebase_vertexai.dart that imports:
  • package:firebase_vertexai/src/base_model.dart that imports:
  • package:web_socket_channel/io.dart that imports:
  • package:web_socket/io_web_socket.dart that imports:
  • package:web_socket/src/io_web_socket.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:firebase_vertexai/firebase_vertexai.dart that imports:
  • package:firebase_vertexai/src/firebase_vertexai.dart that imports:
  • package:firebase_vertexai/src/base_model.dart that imports:
  • package:web_socket_channel/io.dart that imports:
  • package:web_socket/io_web_socket.dart that imports:
  • package:web_socket/src/io_web_socket.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/src/generative_model.dart:16:1

   ╷
16 │ part of vertexai_model;
   │ ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/generative_model.dart

INFO: The part-of directive uses a library name.

lib/src/imagen_model.dart:14:1

   ╷
14 │ part of vertexai_model;
   │ ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/imagen_model.dart

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

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

Package Constraint Compatible Latest Notes
firebase_app_check ^0.3.2+5 0.3.2+5 0.3.2+5
firebase_auth ^5.5.2 5.5.2 5.5.2
firebase_core ^3.13.0 3.13.0 3.13.0
firebase_core_platform_interface ^5.3.1 5.4.0 5.4.0
http ^1.1.0 1.3.0 1.3.0
meta ^1.15.0 1.16.0 1.16.0
web_socket_channel ^3.0.1 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.54 1.3.54
async - 2.12.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
fake_async - 1.3.2 1.3.3
firebase_app_check_platform_interface - 0.1.1+5 0.1.1+5
firebase_app_check_web - 0.2.0+9 0.2.0+9
firebase_auth_platform_interface - 7.6.2 7.6.2
firebase_auth_web - 5.14.2 5.14.2
firebase_core_web - 2.22.0 2.22.0
http_parser - 4.1.2 4.1.2
leak_tracker - 10.0.8 10.0.9
leak_tracker_flutter_testing - 3.0.9 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5
vm_service - 14.3.1 15.0.0
web - 1.1.1 1.1.1
web_socket - 1.0.0 1.0.0

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

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, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: