voice_gpt 1.0.0+5 copy "voice_gpt: ^1.0.0+5" to clipboard
voice_gpt: ^1.0.0+5 copied to clipboard

This package provides a chatbot implementation that utilizes the power of the GPT (Generative Pre-trained Transformer) model to generate responses to user input. The chatbot supports both text and voi [...]

100/ 160
pub points
0
downloads

We analyzed this package 2 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

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Repository URL doesn't exist.

At the time of the analysis https://github.com/dlxkhang/19ktpm-advanced-mobile-voicegpt 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.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

6 out of 77 API elements (7.8 %) 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: chat_interfaces, chat_interfaces.ChatCompletion, chat_interfaces.ChatCompletion.ChatCompletion.new, chat_interfaces.ChatCompletion.messages, chat_interfaces.ChatCompletion.model.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 20/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:voice_gpt/components/chat_page.dart that imports:
  • package:speech_to_text/speech_to_text.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:voice_gpt/components/chat_page.dart that imports:
  • package:speech_to_text/speech_to_text.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:voice_gpt/components/chat_page.dart that imports:
  • package:flutter_tts/flutter_tts.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:voice_gpt/components/chat_page.dart that imports:
  • package:voice_gpt/components/dialog.dart that imports:
  • package:easy_localization/easy_localization.dart that imports:
  • package:easy_localization/src/public_ext.dart that imports:
  • package:easy_localization/src/easy_localization_app.dart that imports:
  • package:easy_localization/src/easy_localization_controller.dart that imports:
  • package:intl/intl_standalone.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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

WARNING: Braces unnecessarily wrap this expression in a set literal.

lib/components/chat_page.dart:116:57

    ╷
116 │       WidgetsBinding.instance.addPostFrameCallback((_) => {
    │ ┌─────────────────────────────────────────────────────────^
117 │ │           if (settings['messageHistoryIsCleared'])
118 │ │             {
119 │ │               setState(() {
120 │ │                 _messages = [];
121 │ │               }),
122 │ │               onSettingsChanged({
123 │ │                 ...settings,
124 │ │                 'messageHistoryIsCleared': false, // Reset state
125 │ │               })
126 │ │             }
127 │ │         });
    │ └─────────^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/components/chat_page.dart

INFO: Missing type annotation.

lib/components/chat_page.dart:94:3

   ╷
94 │   initTts() {
   │   ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/components/chat_page.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
cupertino_icons ^1.0.2 1.0.8 1.0.8
easy_localization ^3.0.1 3.0.8 3.0.8
flutter_chat_types ^3.6.0 3.6.2 3.6.2
flutter_chat_ui ^1.6.6 1.6.15 2.11.1
flutter_dotenv ^5.0.2 5.2.1 6.0.0
flutter_tts ^3.6.3 3.8.5 4.2.5
http ^0.13.5 0.13.6 1.6.0
json_annotation ^4.8.0 4.10.0 4.10.0
json_serializable ^6.6.1 6.12.0 6.12.0
localstorage ^4.0.1+2 4.0.1+4 6.0.0
speech_to_text ^6.1.1 6.6.2 7.3.0
uuid ^3.0.7 3.0.7 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 93.0.0 94.0.0
analyzer - 10.0.1 10.0.2
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
build - 4.0.4 4.0.4
build_config - 1.2.0 1.2.0
characters - 1.4.0 1.4.1
checked_yaml - 2.0.4 2.0.4
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
dart_style - 3.1.5 3.1.5
diffutil_dart - 4.0.1 4.0.1
easy_logger - 0.0.2 0.0.2
equatable - 2.0.8 2.0.8
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
flutter_link_previewer - 3.2.2 4.2.0
flutter_linkify - 6.0.0 6.0.0
flutter_parsed_text - 2.2.1 2.2.1
glob - 2.1.3 2.1.3
hooks - 1.0.1 1.0.1
html - 0.15.6 0.15.6
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
js - 0.7.2 0.7.2 Discontinued
json_schema - 5.2.2 5.2.2
linkify - 5.0.0 5.0.0
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.1
native_toolchain_c - 0.17.4 0.17.4
objective_c - 9.3.0 9.3.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
pedantic - 1.11.1 1.11.1 Discontinued
photo_view - 0.15.0 0.15.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
quiver - 3.2.2 3.2.2
rfc_6901 - 0.2.1 0.2.1
scroll_to_index - 3.0.1 3.0.1
shared_preferences - 2.5.4 2.5.4
shared_preferences_android - 2.4.20 2.4.20
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_gen - 4.2.0 4.2.0
source_helper - 1.3.10 1.3.10
source_span - 1.10.2 1.10.2
speech_to_text_macos - 1.1.0 1.1.0
speech_to_text_platform_interface - 2.3.0 2.3.0
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.9 0.7.9
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.2.0
visibility_detector - 0.4.0+2 0.4.0+2
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

Found 7 issues. Showing the first 2:

The constraint `^1.6.6` on flutter_chat_ui does not support the stable version `2.0.0`.

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

The constraint `^5.0.2` on flutter_dotenv does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions flutter_dotenv 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.23.9, Flutter 3.38.9, Dart 3.10.8.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
100
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

This package provides a chatbot implementation that utilizes the power of the GPT (Generative Pre-trained Transformer) model to generate responses to user input. The chatbot supports both text and voice-based input and output, making it a versatile tool for building natural language interfaces.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, easy_localization, flutter, flutter_chat_types, flutter_chat_ui, flutter_dotenv, flutter_tts, http, json_annotation, json_serializable, localstorage, speech_to_text, uuid

More

Packages that depend on voice_gpt