vais_speech 2.0.3 copy "vais_speech: ^2.0.3" to clipboard
vais_speech: ^2.0.3 copied to clipboard

A new Flutter plugin.

110/ 160
pub points
7
downloads

We analyzed this package 15 days ago, and awarded it 110 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 short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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: GPL-3.0.

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

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

OUT: Documenting vais_speech... Discovering libraries... Linking elements... Precaching local docs for 1188656 elements... Initialized dartdoc with 1704 libraries Generating docs for library vais.dart from package:vais_speech/vais.dart... Generating docs for library proto/generated/cloud_speech.pbenum.dart from package:vais_speech/proto/generated/cloud_speech.pbenum.dart... Generating docs for library proto/generated/cloud_speech.pbjson.dart from package:vais_speech/proto/generated/cloud_speech.pbjson.dart... Generating docs for library proto/generated/cloud_speech.pb.dart from package:vais_speech/proto/generated/cloud_speech.pb.dart... Generating docs for library proto/generated/cloud_speech.pbgrpc.dart from package:vais_speech/proto/generated/cloud_speech.pbgrpc.dart... [17 more lines] ERR: warning: vais_speech has no library level documentation comments from vais_speech: (file:///tmp/pana_LQEKNI/lib/vais.dart:1:1) warning: unresolved doc reference [speechText] from vais_speech_audio.VaisSpeechAudio.addListener: (file:///tmp/pana_LQEKNI/lib/vais_speech_audio.dart:125:8) warning: unresolved doc reference [onConnection] from vais_speech_audio.VaisSpeechAudio.addListener: (file:///tmp/pana_LQEKNI/lib/vais_speech_audio.dart:125:8) warning: unresolved doc reference [Paused] from vais_speech_audio.VaisSpeechAudio.pause: (file:///tmp/pana_LQEKNI/lib/vais_speech_audio.dart:240:10) warning: unresolved doc reference [Paused] from vais_speech_audio.VaisSpeechAudio.resume: (file:///tmp/pana_LQEKNI/lib/vais_speech_audio.dart:250:10) [26 more lines]

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:vais_speech/vais_speech.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:vais_speech/vais_speech.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:vais_speech/vais_speech.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:vais_speech/vais_speech.dart that declares support for platforms: Android, iOS.

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:vais_speech/vais_speech.dart that imports:
  • package:vais_speech/vais_speech_audio.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_macos/wakelock_macos.dart that declares support for platforms: macOS.
Package does not support platform `iOS`.

Because:

  • package:vais_speech/vais_speech.dart that imports:
  • package:vais_speech/vais_speech_audio.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_macos/wakelock_macos.dart that declares support for platforms: macOS.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/vais_speech/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm 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

Found 60 issues. Showing the first 2:

WARNING: The operand can't be 'null', so the condition is always 'true'.

lib/controller/streaming_controller.dart:76:35

   ╷
76 │           if(result.audioFilename != null && result.audioFilename.isNotEmpty){
   │                                   ^^^^^^^
   ╵

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

WARNING: Unused import: 'package:vais_speech/model/base_response.dart'.

lib/model/audio/audio_response.dart:4:8

  ╷
4 │ import 'package:vais_speech/model/base_response.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/model/audio/audio_response.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
file ^6.1.2 6.1.4 7.0.1
fixnum ^1.0.0 1.1.1 1.1.1
grpc ^3.0.0 3.2.4 5.1.0
http ^0.13.3 0.13.6 1.6.0
json_annotation ^4.0.1 4.9.0 4.9.0
path ^1.8.0 1.9.1 1.9.1
path_provider ^2.0.2 2.1.5 2.1.5
protobuf ^2.0.0 2.1.0 6.0.0
quiver ^3.0.1 3.2.2 3.2.2
wakelock ^0.5.2 0.5.6 0.6.2 Discontinued
web_socket_channel ^2.1.0 2.4.5 3.0.3
xml ^5.1.2 5.4.1 6.6.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.1.4 2.1.4
googleapis_auth - 1.4.1 2.0.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.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
petitparser - 5.4.0 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
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.8 0.7.8
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
wakelock_macos - 0.4.0 0.4.0
wakelock_platform_interface - 0.3.0 0.3.0
wakelock_web - 0.4.0 0.4.0
wakelock_windows - 0.2.1 0.2.1
web - 0.5.1 1.1.1
win32 - 3.1.4 5.15.0
xdg_directories - 1.1.0 1.1.0

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

Found 8 issues. Showing the first 2:

The constraint `^6.1.2` on file does not support the stable version `7.0.0`.

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

The constraint `^3.0.0` on grpc does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions grpc 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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: