vais_speech 2.0.3 vais_speech: ^2.0.3 copied to clipboard
A new Flutter plugin.
We analyzed this package 2 days ago, and awarded it 90 pub points (of a possible 140):
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 60 to 180 characters to describe the package, what it does, and its target use case.
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: GPL-3.0
.
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 1137659 elements... Initialized dartdoc with 1637 libraries Generating docs for library vais_speech_audio.dart from package:vais_speech/vais_speech_audio.dart... Generating docs for library vais.dart from package:vais_speech/vais.dart... Generating docs for library vais_helper.dart from package:vais_speech/vais_helper.dart... Generating docs for library controller/offline_controller.dart from package:vais_speech/controller/offline_controller.dart... Generating docs for library controller/streaming_controller.dart from package:vais_speech/controller/streaming_controller.dart... [17 more lines] ERR: warning: unresolved doc reference [speechText] from vais_speech_audio.VaisSpeechAudio.addListener: (file:///tmp/pana_PDQQMK/lib/vais_speech_audio.dart:125:8) warning: unresolved doc reference [onConnection] from vais_speech_audio.VaisSpeechAudio.addListener: (file:///tmp/pana_PDQQMK/lib/vais_speech_audio.dart:125:8) warning: unresolved doc reference [Paused] from vais_speech_audio.VaisSpeechAudio.pause: (file:///tmp/pana_PDQQMK/lib/vais_speech_audio.dart:240:10) warning: unresolved doc reference [Paused] from vais_speech_audio.VaisSpeechAudio.resume: (file:///tmp/pana_PDQQMK/lib/vais_speech_audio.dart:250:10) warning: unresolved doc reference [started] from vais_speech_audio.VaisSpeechAudio.start: (file:///tmp/pana_PDQQMK/lib/vais_speech_audio.dart:140:10) [21 more lines]
10/10 points: Package has an example
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
.
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
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
file |
^6.1.2 |
6.1.4 | 7.0.0 |
fixnum |
^1.0.0 |
1.1.0 | 1.1.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
grpc |
^3.0.0 |
3.2.4 | 3.2.4 |
http |
^0.13.3 |
0.13.6 | 1.2.1 |
json_annotation |
^4.0.1 |
4.9.0 | 4.9.0 |
path |
^1.8.0 |
1.9.0 | 1.9.0 |
path_provider |
^2.0.2 |
2.1.3 | 2.1.3 |
protobuf |
^2.0.0 |
2.1.0 | 3.1.0 |
quiver |
^3.0.1 |
3.2.1 | 3.2.1 |
wakelock |
^0.5.2 |
0.5.6 | 0.6.2 |
web_socket_channel |
^2.1.0 |
2.4.5 | 3.0.0 |
xml |
^5.1.2 |
5.4.1 | 6.5.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
- | 3.5.1 | 3.5.1 |
args |
- | 2.5.0 | 2.5.0 |
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
crypto |
- | 3.0.3 | 3.0.3 |
ffi |
- | 2.1.2 | 2.1.2 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
googleapis_auth |
- | 1.4.1 | 1.6.0 |
http2 |
- | 2.3.0 | 2.3.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
js |
- | 0.6.7 | 0.7.1 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.15.0 |
path_provider_android |
- | 2.2.4 | 2.2.4 |
path_provider_foundation |
- | 2.4.0 | 2.4.0 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.2.1 | 2.2.1 |
petitparser |
- | 5.4.0 | 6.0.2 |
platform |
- | 3.1.4 | 3.1.4 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.0 | 0.7.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
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 | 0.5.1 |
win32 |
- | 3.1.4 | 5.5.0 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 6 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 `^0.13.3` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.