ai_multibridge 0.0.1
ai_multibridge: ^0.0.1 copied to clipboard
A Flutter package that provides a unified interface to multiple AI providers with automatic fallback support.
We analyzed this package 4 days ago, and awarded it 80 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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 33 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: ai_multibridge
, ai_multibridge.AiMultibridgeApiHandler
, ai_multibridge.AiMultibridgeApiHandler.AiMultibridgeApiHandler.new
, ai_multibridge.AiMultibridgeApiHandler.config
, ai_multibridge.AiMultibridgeApiHandler.generateText
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ 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:ai_multibridge/ai_multibridge.dart
that imports:package:ai_multibridge/src/logger.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/advanced_file_output_stub.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'src/config.dart'.
lib/ai_multibridge.dart:3:8
╷
3 │ export 'src/config.dart';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ai_multibridge.dart
ERROR: Target of URI doesn't exist: 'config.dart'.
lib/src/api_handler.dart:1:8
╷
1 │ import 'config.dart';
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api_handler.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_secure_storage |
^9.0.0 |
9.2.4 | 9.2.4 | |
http |
^1.2.0 |
1.5.0 | 1.5.0 | |
logger |
^2.0.2 |
2.6.2 | 2.6.2 | |
meta |
^1.11.0 |
1.16.0 | 1.17.0 | |
shared_preferences |
^2.2.2 |
2.5.3 | 2.5.3 |
Transitive dependencies
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
URI_DOES_NOT_EXIST
-lib/ai_multibridge.dart:3:8
- Target of URI doesn't exist: 'src/config.dart'.URI_DOES_NOT_EXIST
-lib/src/api_handler.dart:1:8
- Target of URI doesn't exist: 'config.dart'.UNDEFINED_CLASS
-lib/src/api_handler.dart:7:9
- Undefined class 'AIMultiBridgeConfig'.
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.22.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.