ai_chat_plus 1.2.1 copy "ai_chat_plus: ^1.2.1" to clipboard
ai_chat_plus: ^1.2.1 copied to clipboard

A Flutter package by jamalihassan0307 for seamless AI chat integration. Features OpenAI, Gemini, and Claude support with type-safe implementation.

3
likes
140/ 160
pub points
116
downloads

We analyzed this package 6 days ago, and awarded it 140 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/jamalihassan0307/ai_chat_plus was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/jamalihassan0307/ai_chat_plus 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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

32 out of 99 API elements (32.3 %) have documentation comments.

Some symbols that are missing documentation: ai_chat_plus, ai_chat_plus.AIChat.AIChat.new, ai_chat_plus.AIChat.aiAvatarUrl, ai_chat_plus.AIChat.apiKey, ai_chat_plus.AIChat.backgroundColor.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:ai_chat_plus/ai_chat_plus.dart that imports:
  • package:ai_chat_plus/src/services/gemini_service.dart that imports:
  • package:ai_chat_plus/src/services/ai_service.dart that imports:
  • package:ai_chat_plus/src/services/openai_service.dart that imports:
  • package:dart_openai/dart_openai.dart that imports:
  • package:dart_openai/src/instance/openai.dart that imports:
  • package:dart_openai/src/instance/model/model.dart that imports:
  • package:dart_openai/src/core/networking/client.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:ai_chat_plus/ai_chat_plus.dart that imports:
  • package:ai_chat_plus/src/services/gemini_service.dart that imports:
  • package:ai_chat_plus/src/services/ai_service.dart that imports:
  • package:ai_chat_plus/src/services/openai_service.dart that imports:
  • package:dart_openai/dart_openai.dart that imports:
  • package:dart_openai/src/instance/openai.dart that imports:
  • package:dart_openai/src/instance/model/model.dart that imports:
  • package:dart_openai/src/core/networking/client.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

INFO: 'red' is deprecated and shouldn't be used. Use (*.r * 255.0).round() & 0xff.

lib/src/customizechat/custom_chat_ui.dart:164:53

    ╷
164 │                         widget.theme.inputTextColor.red,
    │                                                     ^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/customizechat/custom_chat_ui.dart

INFO: 'green' is deprecated and shouldn't be used. Use (*.g * 255.0).round() & 0xff.

lib/src/customizechat/custom_chat_ui.dart:165:53

    ╷
165 │                         widget.theme.inputTextColor.green,
    │                                                     ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/customizechat/custom_chat_ui.dart

Failed report section
Support up-to-date dependencies
30 / 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
dart_openai ^5.1.0 5.1.0 5.1.0
equatable ^2.0.7 2.0.7 2.0.7
freezed_annotation ^2.4.4 2.4.4 3.0.0
google_generative_ai ^0.4.6 0.4.7 0.4.7
http ^1.3.0 1.4.0 1.4.0
json_annotation ^4.9.0 4.9.0 4.9.0
provider ^6.1.4 6.1.5 6.1.5
universal_io ^2.2.2 2.2.2 2.2.2
web_socket_channel ^3.0.0 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
fetch_api - 2.3.1 2.3.1
fetch_client - 1.1.4 1.1.4
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.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
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.4.4` on freezed_annotation does not support the stable version `3.0.0`.

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
140
points
116
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package by jamalihassan0307 for seamless AI chat integration. Features OpenAI, Gemini, and Claude support with type-safe implementation.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

dart_openai, equatable, flutter, flutter_web_plugins, freezed_annotation, google_generative_ai, http, json_annotation, provider, universal_io, web_socket_channel

More

Packages that depend on ai_chat_plus