firebase_ai 3.14.0 copy "firebase_ai: ^3.14.0" to clipboard
firebase_ai: ^3.14.0 copied to clipboard

Firebase AI Logic SDK.

60/ 160
pub points
75.8k
downloads

We analyzed this package 4 days ago, and awarded it 60 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

530 out of 622 API elements (85.2 %) have documentation comments.

Some symbols that are missing documentation: firebase_ai, firebase_ai.AudioTranscriptionConfig.AudioTranscriptionConfig.new, firebase_ai.AudioTranscriptionConfig.toJson, firebase_ai.Candidate.Candidate.new, firebase_ai.Citation.Citation.new.

Passed check 10/10 points: Package has an example

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

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

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

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

Found 3 issues. Showing the first 2:

ERROR: Classes can only extend other classes.

lib/src/firebase_ai.dart:29:26

   ╷
29 │ class FirebaseAI extends FirebasePlugin {
   │                          ^^^^^^^^^^^^^^
   ╵

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

ERROR: Too many positional arguments: 0 expected, but 2 found.

lib/src/firebase_ai.dart:38:15

   ╷
38 │         super(app.name, 'plugins.flutter.io/firebase_vertexai');
   │               ^^^^^^^^
   ╵

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

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

Partially 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.4.5+1 0.4.5+1 0.4.5+2
firebase_auth ^6.5.5 6.5.5 6.5.6
firebase_core ^4.12.0 4.12.0 4.12.1
firebase_core_platform_interface ^7.1.0 7.1.0 8.0.0
http ^1.1.0 1.6.0 1.6.0
meta ^1.15.0 1.18.0 1.19.0
web_socket_channel ^3.0.1 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.74 1.3.75
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
fake_async - 1.3.3 1.3.3
firebase_app_check_platform_interface - 0.4.1+1 0.4.1+2
firebase_app_check_web - 0.2.5+1 0.2.5+2
firebase_auth_platform_interface - 9.0.4 9.0.5
firebase_auth_web - 6.2.4 6.2.5
firebase_core_web - 3.9.0 3.9.1
http_parser - 4.1.2 4.1.2
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
matcher - 0.12.19 0.12.20
material_color_utilities - 0.13.0 0.13.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.2 1.10.2
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.11 0.7.13
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.4.1
vm_service - 15.2.0 15.2.0
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1

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

The constraint `^7.1.0` on firebase_core_platform_interface does not support the stable version `8.0.0`, that was published 8 days ago.

When firebase_core_platform_interface is 30 days old, this package will no longer be awarded points in this category.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • EXTENDS_NON_CLASS - lib/src/firebase_ai.dart:29:26 - Classes can only extend other classes.
  • EXTRA_POSITIONAL_ARGUMENTS - lib/src/firebase_ai.dart:38:15 - Too many positional arguments: 0 expected, but 2 found.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.14, Flutter 3.44.5, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: