ifly_speech_recognition 0.3.2 ifly_speech_recognition: ^0.3.2 copied to clipboard
根据科大讯飞 `语音听写(流式版)WebAPI` 文档,实现60s的语音识别功能。
We analyzed this package 40 hours ago, and awarded it 85 pub points (of a possible 160):
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.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description
field in your package's pubspec.yaml
should primarily contain characters used in English.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
40 out of 101 API elements (39.6 %) have documentation comments.
Some symbols that are missing documentation: ifly_speech_recognition
, ifly_speech_recognition.SpeechRecognitionBusiness
, ifly_speech_recognition.SpeechRecognitionBusiness.SpeechRecognitionBusiness
, ifly_speech_recognition.SpeechRecognitionCommon
, ifly_speech_recognition.SpeechRecognitionCommon.SpeechRecognitionCommon
.
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:ifly_speech_recognition/ifly_speech_recognition.dart
that imports:package:ifly_speech_recognition/src/speech_recognition_service.dart
that imports:package:flutter_sound/flutter_sound.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:ifly_speech_recognition/ifly_speech_recognition.dart
that imports:package:ifly_speech_recognition/src/speech_recognition_service.dart
that imports:package:flutter_sound/flutter_sound.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:ifly_speech_recognition/ifly_speech_recognition.dart
that imports:package:ifly_speech_recognition/src/speech_recognition_service.dart
that imports:package:flutter_sound/flutter_sound.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Web`.
Because:
package:ifly_speech_recognition/ifly_speech_recognition.dart
that imports:package:ifly_speech_recognition/src/speech_recognition_service.dart
that imports:package:flutter_sound/flutter_sound.dart
that imports:package:flutter_sound/public/tau.dart
that imports:package:flutter_sound/public/flutter_sound_player.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: The argument type 'StreamSink
lib/src/speech_recognition_service.dart:163:21
╷
163 │ toStream: _mRecordingDataController!.sink,
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/speech_recognition_service.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
audio_session |
^0.1.16 |
0.1.21 | 0.1.21 |
crypto |
^3.0.2 |
3.0.5 | 3.0.5 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_sound |
^9.2.13 |
9.11.2 | 9.16.0 |
intl |
^0.18.1 |
0.18.1 | 0.19.0 |
web_socket_channel |
^2.3.0 |
2.4.5 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.19.0 |
ffi |
- | 2.1.3 | 2.1.3 |
fixnum |
- | 1.1.0 | 1.1.0 |
flutter_sound_platform_interface |
- | 9.11.2 | 9.16.0 |
flutter_sound_web |
- | 9.11.2 | 9.16.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
js |
- | 0.7.1 | 0.7.1 |
logger |
- | 2.4.0 | 2.4.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.15.0 |
nested |
- | 1.0.0 | 1.0.0 |
path |
- | 1.9.0 | 1.9.0 |
path_provider |
- | 2.1.4 | 2.1.4 |
path_provider_android |
- | 2.2.10 | 2.2.10 |
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.3.0 | 2.3.0 |
platform |
- | 3.1.5 | 3.1.5 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
provider |
- | 6.1.2 | 6.1.2 |
recase |
- | 4.1.0 | 4.1.0 |
rxdart |
- | 0.28.0 | 0.28.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
sprintf |
- | 7.0.0 | 7.0.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
synchronized |
- | 3.3.0+2 | 3.3.0+2 |
typed_data |
- | 1.3.2 | 1.3.2 |
uuid |
- | 4.5.0 | 4.5.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 1.0.0 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.
Try running dart pub upgrade --major-versions intl
to update the constraint.
The constraint `^2.3.0` on web_socket_channel does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions web_socket_channel
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.12
, Flutter 3.24.2
, Dart 3.5.2
.
Check the analysis log for details.