vosk_flutter_service 0.0.1 copy "vosk_flutter_service: ^0.0.1" to clipboard
vosk_flutter_service: ^0.0.1 copied to clipboard

Flutter plugin for offline speech recognition using the Vosk speech recognition toolkit.

90/ 160
pub points
32
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/dhia-bechattaoui/vosk_flutter_service was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

67 out of 71 API elements (94.4 %) have documentation comments.

Some symbols that are missing documentation: vosk_flutter, vosk_flutter_service, vosk_flutter_service.MicrophoneAccessDeniedException.MicrophoneAccessDeniedException.new, vosk_flutter_service.SpeechService.dispose.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:vosk_flutter_service/vosk_flutter_service.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Linux`.

Because:

  • package:vosk_flutter_service/vosk_flutter_service.dart that imports:
  • package:vosk_flutter_service/src/vosk_flutter.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:vosk_flutter_service/vosk_flutter_service.dart that imports:
  • package:vosk_flutter_service/src/vosk_flutter.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 20 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: '../vosk_flutter.dart'.

lib/src/recognizer.dart:8:8

  ╷
8 │ import '../vosk_flutter.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: Undefined class 'Model'.

lib/src/recognizer.dart:31:9

   ╷
31 │   final Model model;
   │         ^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
archive ^4.0.7 4.0.7 4.0.7
args ^2.5.0 2.7.0 2.7.0
build_cli_annotations ^2.1.0 2.1.1 2.1.1
ffi ^2.1.3 2.1.4 2.1.4
http ^1.2.2 1.6.0 1.6.0
package_config ^2.1.0 2.2.0 2.2.0
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.1.4 2.1.5 2.1.5
permission_handler ^12.0.1 12.0.1 12.0.1
pubspec_parse ^1.3.0 1.5.0 1.5.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
checked_yaml - 2.0.4 2.0.4
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
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
permission_handler_android - 13.0.1 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
pub_semver - 2.2.0 2.2.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 20 errors:

  • URI_DOES_NOT_EXIST - lib/src/recognizer.dart:8:8 - Target of URI doesn't exist: '../vosk_flutter.dart'.
  • UNDEFINED_CLASS - lib/src/recognizer.dart:31:9 - Undefined class 'Model'.
  • URI_DOES_NOT_EXIST - lib/src/vosk_flutter.dart:12:8 - Target of URI doesn't exist: '../vosk_flutter.dart'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: