flutter_genui_firebase_ai 0.5.0 copy "flutter_genui_firebase_ai: ^0.5.0" to clipboard
flutter_genui_firebase_ai: ^0.5.0 copied to clipboard

discontinuedreplaced by: genui_firebase_ai

Integration package for flutter_genui and Firebase AI Logic.

100/ 160
pub points
33
downloads

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

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: flutter_genui_firebase_ai.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: flutter_genui_firebase_ai,
    • contains a version property, and,
    • does not contain a publish_to property.
Homepage URL doesn't exist.

At the time of the analysis https://github.com/flutter/genui/tree/main/packages/genui_firebase_ai was unreachable. Make sure that the website is reachable via HEAD requests.

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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

38 out of 43 API elements (88.4 %) have documentation comments.

Some symbols that are missing documentation: flutter_genui_firebase_ai, flutter_genui_firebase_ai.FirebaseAiContentGenerator.configuration, flutter_genui_firebase_ai.GeminiContentConverter.GeminiContentConverter.new, flutter_genui_firebase_ai.GeminiGenerativeModelInterface.GeminiGenerativeModelInterface.new, flutter_genui_firebase_ai.GeminiSchemaAdapter.GeminiSchemaAdapter.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/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:flutter_genui_firebase_ai/flutter_genui_firebase_ai.dart that imports:
  • package:flutter_genui_firebase_ai/src/gemini_schema_adapter.dart that imports:
  • package:firebase_ai/firebase_ai.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_genui_firebase_ai/flutter_genui_firebase_ai.dart that imports:
  • package:flutter_genui_firebase_ai/src/gemini_schema_adapter.dart that imports:
  • package:firebase_ai/firebase_ai.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:flutter_genui_firebase_ai/flutter_genui_firebase_ai.dart that imports:
  • package:flutter_genui_firebase_ai/src/gemini_schema_adapter.dart that imports:
  • package:firebase_ai/firebase_ai.dart that imports:
  • package:firebase_ai/src/firebase_ai.dart that imports:
  • package:firebase_ai/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

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:flutter_genui_firebase_ai/flutter_genui_firebase_ai.dart that imports:
  • package:flutter_genui_firebase_ai/src/gemini_schema_adapter.dart that imports:
  • package:firebase_ai/firebase_ai.dart that imports:
  • package:firebase_ai/src/firebase_ai.dart that imports:
  • package:firebase_ai/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

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Failed report section
Support up-to-date dependencies
10 / 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
firebase_ai ^3.2.0 3.10.0 3.10.0
flutter_genui ^0.5.0 0.5.0 0.5.0 Discontinued
json_schema_builder ^0.1.3 0.1.3 0.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.68 1.3.68
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
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 - 0.4.2 0.4.2
firebase_app_check_platform_interface - 0.2.2 0.2.2
firebase_app_check_web - 0.2.3 0.2.3
firebase_auth - 6.3.0 6.3.0
firebase_auth_platform_interface - 8.1.8 8.1.8
firebase_auth_web - 6.1.4 6.1.4
firebase_core - 4.6.0 4.6.0
firebase_core_platform_interface - 6.0.3 6.0.3
firebase_core_web - 3.5.1 3.5.1
flutter_markdown - 0.7.7+1 0.7.7+1 Discontinued
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.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
logging - 1.3.0 1.3.0
markdown - 7.3.1 7.3.1
matcher - 0.12.19 0.12.19
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
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.11
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0
vm_service - 15.0.2 15.0.2
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.

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • flutter_genui.

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:

  • UNDEFINED_GETTER - lib/src/firebase_ai_content_generator.dart:552:44 - The getter 'toolUsePromptTokenCount' isn't defined for the type 'UsageMetadata'.
  • UNDEFINED_GETTER - lib/src/firebase_ai_content_generator.dart:574:19 - The getter 'toolUsePromptTokensDetails' isn't defined for the type 'UsageMetadata'.

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.12, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
33
downloads

Documentation

API reference

Publisher

verified publisherlabs.flutter.dev

Weekly Downloads

Integration package for flutter_genui and Firebase AI Logic.

License

BSD-3-Clause (license)

Dependencies

firebase_ai, flutter, flutter_genui, json_schema_builder

More

Packages that depend on flutter_genui_firebase_ai