flutter_ai_connector 0.0.2
flutter_ai_connector: ^0.0.2 copied to clipboard
A unified Flutter interface for AI Assistants (OpenAI, Gemini, Groq) with Lottie and Voice support.
We analyzed this package 31 hours ago, and awarded it 140 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.
10/10 points: 20% or more of the public API has dartdoc comments
38 out of 122 API elements (31.1 %) have documentation comments.
Some symbols that are missing documentation: flutter_ai_connector, flutter_ai_connector.AIAssistantView, flutter_ai_connector.AIAssistantView.AIAssistantView.new, flutter_ai_connector.AIAssistantView.config, flutter_ai_connector.AIAssistantView.customLottiePath.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:flutter_ai_connector/flutter_ai_connector.dartthat imports:package:flutter_ai_connector/src/presentation/widgets/chat_bubble.dartthat imports:package:flutter_ai_connector/src/presentation/bloc/ai_chat_bloc.dartthat imports:package:flutter_tts/flutter_tts.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package does not support platform `Web`.
Because:
package:flutter_ai_connector/flutter_ai_connector.dartthat imports:package:flutter_ai_connector/src/presentation/widgets/ai_assistant_view.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/linux/file_picker_linux.dartthat imports:package:dbus/dbus.dartthat declares support for platforms:Windows,Linux.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:flutter_ai_connector/flutter_ai_connector.dartthat imports:package:flutter_ai_connector/src/presentation/widgets/ai_assistant_view.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_ai_connector/flutter_ai_connector.dartthat imports:package:flutter_ai_connector/src/presentation/widgets/ai_assistant_view.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:flutter_ai_connector/flutter_ai_connector.dartthat imports:package:flutter_ai_connector/src/presentation/widgets/ai_assistant_view.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: 'pauseFor' is deprecated and shouldn't be used. Use SpeechListenOptions.pauseFor instead.
lib/src/presentation/widgets/ai_assistant_view.dart:90:11
╷
90 │ pauseFor: const Duration(seconds: 3),
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presentation/widgets/ai_assistant_view.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/presentation/widgets/ai_assistant_view.dart:241:54
╷
241 │ color: Colors.deepPurple.withOpacity(0.5),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presentation/widgets/ai_assistant_view.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bloc_concurrency |
^0.3.0 |
0.3.0 | 0.3.0 | |
dio |
^5.9.1 |
5.11.0 | 5.11.0 | |
equatable |
^2.0.8 |
2.1.0 | 2.1.0 | |
file_picker |
^10.3.10 |
10.3.10 | 12.0.0 | |
flutter_bloc |
^9.1.1 |
9.1.1 | 9.1.1 | |
flutter_tts |
^3.8.5 |
3.8.5 | 4.2.5 | |
image_picker |
^1.2.1 |
1.2.3 | 1.2.3 | |
langchain |
^0.8.1 |
0.8.1 | 0.8.1 | |
langchain_google |
^0.7.1+2 |
0.7.1+2 | 0.7.1+2 | |
langchain_openai |
^0.8.1+1 |
0.8.1+1 | 0.8.1+1 | |
lottie |
^3.3.2 |
3.5.1 | 3.5.1 | |
mime |
^2.0.0 |
2.0.0 | 2.0.0 | |
speech_to_text |
^7.3.0 |
7.4.0 | 7.4.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_discoveryapis_commons |
- | 1.0.7 | 1.0.7 | |
archive |
- | 4.2.0 | 4.2.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
bloc |
- | 9.2.1 | 9.2.1 | |
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+4 | 0.3.5+4 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dbus |
- | 0.7.15 | 0.7.15 | |
dio_web_adapter |
- | 2.2.1 | 2.2.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file_selector_linux |
- | 0.9.4 | 0.9.4 | |
file_selector_macos |
- | 0.9.5 | 0.9.5 | |
file_selector_platform_interface |
- | 2.7.0 | 2.7.0 | |
file_selector_windows |
- | 0.9.3+5 | 0.9.3+5 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
freezed_annotation |
- | 3.1.0 | 3.1.0 | |
gcloud |
- | 0.9.0 | 0.9.0 | |
google_cloud |
- | 0.5.0 | 0.5.0 | |
google_identity_services_web |
- | 0.3.3+1 | 0.3.3+1 | |
googleai_dart |
- | 3.6.0 | 11.0.0 | |
googleapis |
- | 15.0.0 | 16.0.0 | |
googleapis_auth |
- | 2.3.3 | 2.3.3 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image_picker_android |
- | 0.8.13+19 | 0.8.13+19 | |
image_picker_for_web |
- | 3.1.1 | 3.1.1 | |
image_picker_ios |
- | 0.8.13+6 | 0.8.13+6 | |
image_picker_linux |
- | 0.2.2 | 0.2.2 | |
image_picker_macos |
- | 0.2.2+1 | 0.2.2+1 | |
image_picker_platform_interface |
- | 2.11.1 | 2.11.1 | |
image_picker_windows |
- | 0.2.2 | 0.2.2 | |
json_annotation |
- | 4.12.0 | 4.12.0 | |
langchain_core |
- | 0.4.1 | 0.4.1 | |
langchain_tiktoken |
- | 1.0.1 | 1.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
openai_dart |
- | 0.6.2 | 8.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.2 | 6.5.2 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
retry |
- | 3.1.2 | 3.1.2 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
speech_to_text_platform_interface |
- | 2.4.0 | 2.4.0 | |
speech_to_text_windows |
- | 1.0.1 | 1.0.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.6.0 | 4.6.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
vertex_ai |
- | 0.2.1 | 0.2.4 | Discontinued |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
win32 |
- | 5.15.0 | 6.4.0 | |
xml |
- | 7.0.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^10.3.10` on file_picker does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions file_picker to update the constraint.
The constraint `^3.8.5` on flutter_tts does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions flutter_tts to update the constraint.
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.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.