fl_kdxf_sst_rt 0.0.4 copy "fl_kdxf_sst_rt: ^0.0.4" to clipboard
fl_kdxf_sst_rt: ^0.0.4 copied to clipboard

科大讯飞语音转文字,流式语音听写实现,基于Flutter3.7.10

2
likes
80/ 160
pub points
7%
popularity

We analyzed this package 25 hours ago, and awarded it 80 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

partial
Provide documentation
10 / 20trigger folding of the section

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

26 out of 155 API elements (16.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: base_kdxf, base_kdxf.KDXFBaseSpeechRecognitionBlueMixin, base_kdxf.KDXFBaseSpeechRecognitionBlueMixin.KDXFDispose, base_kdxf.KDXFBaseSpeechRecognitionBlueMixin.KDXFInit, base_kdxf.KDXFBaseSpeechRecognitionBlueMixin.KDXFStartListening.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 21 issues. Showing the first 2:

ERROR: The argument type 'StreamSink

lib/kdxf_speech/kdxf_plugins/utils/sound_manage.dart:67:17

   ╷
67 │       toStream: recordingDataController?.sink,
   │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/kdxf_speech/kdxf_plugins/utils/sound_manage.dart

WARNING: The receiver can't be null because of short-circuiting, so the null-aware operator '?.' can't be used.

lib/kdxf_speech/kdxf_plugins/generated/json/response_data_entity_helper.dart:87:49

   ╷
87 │     data['ws'] =  entity.ws?.map((v) => v.toJson())?.toList();
   │                                                    ^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/kdxf_speech/kdxf_plugins/generated/json/response_data_entity_helper.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
crypto ^3.0.3 3.0.6 3.0.6
flutter flutter 0.0.0 0.0.0
flutter_colorpicker ^1.0.3 1.1.0 1.1.0
flutter_sound ^9.2.13 9.11.2 9.16.3
flutter_web_plugins flutter 0.0.0 0.0.0
intl ^0.18.1 0.18.1 0.19.0
permission_handler ^11.0.1 11.3.1 11.3.1
plugin_platform_interface ^2.1.6 2.1.8 2.1.8
siri_wave ^0.3.0 0.3.0 2.1.0
web_socket_channel ^2.4.0 2.4.5 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
flutter_sound_platform_interface - 9.11.2 9.16.3
flutter_sound_web - 9.11.2 9.16.3
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.16.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
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
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+2 0.1.3+2
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.6 3.1.6
provider - 6.1.2 6.1.2
recase - 4.1.0 4.1.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+3 3.3.0+3
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 1.1.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 3 issues. Showing the first 2:

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 `^0.3.0` on siri_wave does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions siri_wave 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.13, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.