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
31
downloads

We analyzed this package 10 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/server_template/template_chat.dart that imports:
  • package:firebase_ai/src/base_model.dart that imports:
  • package:firebase_ai/src/live_session.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/server_template/template_chat.dart that imports:
  • package:firebase_ai/src/base_model.dart that imports:
  • package:firebase_ai/src/live_session.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.15.0 4.0.0
flutter_genui ^0.5.0 0.5.0 0.5.0 Discontinued
json_schema_builder ^0.1.3 0.1.7 0.1.7
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.77 1.3.77
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
decimal - 3.2.6 3.2.6
email_validator - 3.0.0 3.0.0
firebase_app_check - 0.4.7 0.4.7
firebase_app_check_platform_interface - 0.4.2+1 0.4.2+1
firebase_app_check_web - 0.2.6+1 0.2.6+1
firebase_auth - 6.6.1 6.6.1
firebase_auth_platform_interface - 9.0.7 9.0.7
firebase_auth_web - 6.2.7 6.2.7
firebase_core - 4.14.0 4.14.0
firebase_core_platform_interface - 8.1.1 8.1.1
firebase_core_web - 3.11.0 3.11.0
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.3 0.20.3
logging - 1.3.0 1.3.0
markdown - 7.3.1 7.3.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.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
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.2 2.4.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 constraint `^3.2.0` on firebase_ai does not support the stable version `4.0.0`, that was published 10 days ago.

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

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

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.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
31
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