frame_gemini_chat_text 0.1.0 copy "frame_gemini_chat_text: ^0.1.0" to clipboard
frame_gemini_chat_text: ^0.1.0 copied to clipboard

Speak to a Gemini AI model by voice using platform-provided speech-to-text, and show response text in any language on the Brilliant Labs Frame display

115/ 160
pub points
34
downloads

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

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: frame_gemini_chat_text,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository has no repository or homepage URL.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

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

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

9 out of 26 API elements (34.6 %) have documentation comments.

Some symbols that are missing documentation: main, main.MainApp, main.MainApp.MainApp.new, main.MainAppState.MainAppState.new, main.MainAppState.connectToScannedFrame.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:frame_gemini_chat_text/main.dart that imports:
  • package:simple_frame_app/simple_frame_app.dart that imports:
  • package:simple_frame_app/brilliant_bluetooth.dart that imports:
  • package:flutter_blue_plus/flutter_blue_plus.dart that declares support for platforms: Android, iOS, Linux, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:frame_gemini_chat_text/main.dart that imports:
  • package:speech_to_text/speech_to_text.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package not compatible with platform Web

Because:

  • package:frame_gemini_chat_text/main.dart that imports:
  • package:simple_frame_app/simple_frame_app.dart that imports:
  • package:simple_frame_app/brilliant_bluetooth.dart that imports:
  • package:flutter_blue_plus/flutter_blue_plus.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:frame_gemini_chat_text/main.dart that imports:
  • package:simple_frame_app/simple_frame_app.dart that imports:
  • package:simple_frame_app/brilliant_bluetooth.dart that imports:
  • package:flutter_blue_plus/flutter_blue_plus.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.cn/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

INFO: Statements in an if should be enclosed in a block.

lib/main.dart:206:11

    ╷
206 │           _updateLatestMessage(response.text!, concat: true);
    │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/main.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
flutter_blue_plus ^1.32.12 1.36.8 2.0.0
flutter_chat_types ^3.6.2 3.6.2 3.6.2
flutter_chat_ui ^1.6.15 1.6.15 2.9.1
google_generative_ai ^0.4.6 0.4.7 0.4.7
image ^4.2.0 4.5.4 4.5.4
logging ^1.2.0 1.3.0 1.3.0
shared_preferences ^2.3.2 2.5.3 2.5.3
simple_frame_app ^1.8.0 1.8.0 7.1.0
speech_to_text ^7.0.0 7.3.0 7.3.0
uuid ^4.5.0 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
bluez - 0.8.3 0.8.3
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dbus - 0.7.11 0.7.11
diffutil_dart - 4.0.1 4.0.1
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_blue_plus_android - 7.0.4 8.0.0
flutter_blue_plus_darwin - 7.0.3 8.0.0
flutter_blue_plus_linux - 7.0.3 8.0.0
flutter_blue_plus_platform_interface - 7.0.0 8.0.0
flutter_blue_plus_web - 7.0.2 8.0.0
flutter_link_previewer - 3.2.2 4.1.2
flutter_linkify - 6.0.0 6.0.0
flutter_parsed_text - 2.2.1 2.2.1
html - 0.15.6 0.15.6
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
json_annotation - 4.9.0 4.9.0
linkify - 5.0.0 5.0.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
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
petitparser - 7.0.1 7.0.1
photo_view - 0.15.0 0.15.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
rxdart - 0.28.0 0.28.0
scroll_to_index - 3.0.1 3.0.1
shared_preferences_android - 2.4.15 2.4.15
shared_preferences_foundation - 2.5.5 2.5.5
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_span - 1.10.1 1.10.1
speech_to_text_platform_interface - 2.3.0 2.3.0
speech_to_text_windows - 1.0.0+beta.8 1.0.0+beta.8
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.24 6.3.24
url_launcher_ios - 6.3.5 6.3.5
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.4 3.2.4
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
vector_math - 2.2.0 2.2.0
visibility_detector - 0.4.0+2 0.4.0+2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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

Found 3 issues. Showing the first 2:

The constraint `^1.32.12` on flutter_blue_plus does not support the stable version `2.0.0`, that was published 27 days ago.

When flutter_blue_plus is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^1.6.15` 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.

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.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
115
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

Speak to a Gemini AI model by voice using platform-provided speech-to-text, and show response text in any language on the Brilliant Labs Frame display

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_blue_plus, flutter_chat_types, flutter_chat_ui, google_generative_ai, image, logging, shared_preferences, simple_frame_app, speech_to_text, uuid

More

Packages that depend on frame_gemini_chat_text