dartantic_firebase_ai 0.2.0 copy "dartantic_firebase_ai: ^0.2.0" to clipboard
dartantic_firebase_ai: ^0.2.0 copied to clipboard

Firebase AI provider for dartantic_ai. Provides access to Google's Gemini models through Firebase with App Check security and Firebase Auth integration.

90/ 160
pub points
208
downloads

We analyzed this package 2 days ago, and awarded it 90 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: BSD-3-Clause.

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

89 out of 89 API elements (100.0 %) have documentation comments.

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 23 issues. Showing the first 2:

ERROR: The type 'FinishReason?' isn't exhaustively matched by the switch cases since it doesn't match the pattern 'FinishReason.unexpectedToolCall'.

lib/src/firebase_message_mappers.dart:252:59

    ╷
252 │ FinishReason mapFinishReason(fai.FinishReason? reason) => switch (reason) {
    │                                                           ^^^^^^
    ╵

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

INFO: 'ImagenGenerationConfig' is deprecated and shouldn't be used. All Imagen models are deprecated and will shut down as early as June 2026. As a replacement, you can migrate your apps to use Gemini Image models (the "Nano Banana" models)(https://firebase.google.com/docs/ai-logic/imagen-models-migration).

lib/src/firebase_ai_media_generation_model.dart:339:7

    ╷
339 │   fai.ImagenGenerationConfig _buildImagenGenerationConfig(
    │       ^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/firebase_ai_media_generation_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
dartantic_interface ^4.0.0 4.0.0 4.0.0
firebase_ai ^3.8.0 3.11.0 3.11.0
firebase_app_check ^0.4.0 0.4.3 0.4.3
firebase_auth ^6.1.4 6.4.0 6.4.0
firebase_core ^4.4.0 4.7.0 4.7.0
logging ^1.3.0 1.3.0 1.3.0
meta ^1.17.0 1.17.0 1.18.2
uuid ^4.5.2 4.5.3 4.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.69 1.3.69
args - 2.7.0 2.7.0
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
cross_file - 0.3.5+2 0.3.5+2
crypto - 3.0.7 3.0.7
decimal - 3.2.4 3.2.4
email_validator - 3.0.0 3.0.0
fake_async - 1.3.3 1.3.3
firebase_app_check_platform_interface - 0.3.0 0.3.0
firebase_app_check_web - 0.2.4 0.2.4
firebase_auth_platform_interface - 8.1.9 8.1.9
firebase_auth_web - 6.1.5 6.1.5
firebase_core_platform_interface - 6.0.3 6.0.3
firebase_core_web - 3.6.0 3.6.0
fixnum - 1.1.1 1.1.1
genai_primitives - 0.2.3 0.2.3
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
json_schema_builder - 0.1.3 0.1.3
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
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
rational - 2.2.3 2.2.3
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.10 0.7.12
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0
vm_service - 15.2.0 15.2.0
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3

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.23.12, Flutter 3.41.9, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
208
downloads

Documentation

API reference

Publisher

verified publishersellsbrothers.com

Weekly Downloads

Firebase AI provider for dartantic_ai. Provides access to Google's Gemini models through Firebase with App Check security and Firebase Auth integration.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

dartantic_interface, firebase_ai, firebase_app_check, firebase_auth, firebase_core, flutter, logging, meta, uuid

More

Packages that depend on dartantic_firebase_ai