dartantic_firebase_ai 0.2.0
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.
We analyzed this package in the last hour, and awarded it 90 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
89 out of 89 API elements (100.0 %) have documentation comments.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 31 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.blocklist'.
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: 'appCheck' is deprecated and shouldn't be used. Passing an explicit instance is deprecated, internal handling is now automatic.
lib/src/firebase_ai_chat_model.dart:180:9
╷
180 │ appCheck: appCheck,
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/firebase_ai_chat_model.dart
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.13.1 | 3.13.1 | |
firebase_app_check |
^0.4.0 |
0.4.5 | 0.4.5 | |
firebase_auth |
^6.1.4 |
6.5.4 | 6.5.4 | |
firebase_core |
^4.4.0 |
4.11.0 | 4.11.0 | |
logging |
^1.3.0 |
1.3.0 | 1.3.0 | |
meta |
^1.17.0 |
1.18.0 | 1.18.3 | |
uuid |
^4.5.2 |
4.5.3 | 4.5.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.73 | 1.3.73 | |
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.4.1 | 0.4.1 | |
firebase_app_check_web |
- | 0.2.5 | 0.2.5 | |
firebase_auth_platform_interface |
- | 9.0.3 | 9.0.3 | |
firebase_auth_web |
- | 6.2.3 | 6.2.3 | |
firebase_core_platform_interface |
- | 7.1.0 | 7.1.0 | |
firebase_core_web |
- | 3.9.0 | 3.9.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.3 | 0.20.3 | |
json_schema_builder |
- | 0.1.5 | 0.1.5 | |
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.11 | 0.7.12 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.4.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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.13, Flutter 3.44.3, Dart 3.12.2.
Check the analysis log for details.