vosk_flutter 0.3.48 copy "vosk_flutter: ^0.3.48" to clipboard
vosk_flutter: ^0.3.48 copied to clipboard

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

19
likes
110/ 160
pub points
417
downloads

We analyzed this package 4 days ago, and awarded it 110 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: Apache-2.0.

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

61 out of 63 API elements (96.8 %) have documentation comments.

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

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

  • ✓ Android

  • ✓ Windows

  • ✓ Linux

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:vosk_flutter/vosk_flutter.dart that declares support for platforms: Android, Windows, Linux.
Package does not support platform `macOS`.

Because:

  • package:vosk_flutter/vosk_flutter.dart that declares support for platforms: Android, Windows, Linux.
Package does not support platform `Web`.

Because:

  • package:vosk_flutter/vosk_flutter.dart that declares support for platforms: Android, Windows, Linux.

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/vosk_flutter.dart that imports:
  • package:vosk_flutter/src/vosk_flutter.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:vosk_flutter/vosk_flutter.dart that imports:
  • package:vosk_flutter/src/vosk_flutter.dart that imports:
  • package:vosk_flutter/src/utils.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm 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 61 issues. Showing the first 2:

WARNING: This API is available since SDK 2.17.0, but constraints '>=2.15.1 <3.0.0' don't guarantee it.

lib/src/generated_vosk_bindings.dart:27:21

   ╷
27 │     ffi.Pointer<ffi.Char> model_path,
   │                     ^^^^
   ╵
copied to clipboard

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

WARNING: This API is available since SDK 2.17.0, but constraints '>=2.15.1 <3.0.0' don't guarantee it.

lib/src/generated_vosk_bindings.dart:37:31

37 │               ffi.Pointer<ffi.Char>)>>('vosk_model_new');
   │                               ^^^^
   ╵
copied to clipboard

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

Failed report section
Support up-to-date dependencies
10 / 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
archive ^3.1.8 3.6.1 4.0.5
args ^2.4.0 2.7.0 2.7.0
build_cli_annotations ^2.1.0 2.1.0 2.1.0
ffi ^2.0.1 2.1.4 2.1.4
http ^0.13.5 0.13.6 1.3.0
package_config ^2.1.0 2.2.0 2.2.0
path ^1.8.2 1.9.1 1.9.1
path_provider ^2.0.8 2.1.5 2.1.5
permission_handler ^10.2.0 10.4.5 11.4.0
pubspec_parse ^1.2.2 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.0
checked_yaml - 2.0.3 2.0.3
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path_provider_android - 2.2.16 2.2.16
path_provider_foundation - 2.4.1 2.4.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 - 10.3.6 13.0.1
permission_handler_apple - 9.1.4 9.4.6
permission_handler_platform_interface - 3.12.0 4.3.0
permission_handler_windows - 0.1.3 0.2.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
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.1.4 2.1.4
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.

Found 3 issues. Showing the first 2:

The constraint `^3.1.8` on archive does not support the stable version `4.0.0`.

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

The constraint `^0.13.5` on http does not support the stable version `1.0.0`.

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

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 1 error:

  • USE_OF_VOID_RESULT - lib/src/cli/vosk_cli.dart:152:11 - This expression has a type of 'void' so its value can't be used.

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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 30Jul 28Aug 25Sep 22Oct 20Nov 17Dec 15Jan 12Feb 9Mar 9020406080100120140>=0.0.0-0 <1.0.0
19
likes
110
points
417
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.14 - 2025.03.29

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

Homepage
Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

archive, args, build_cli_annotations, ffi, flutter, http, package_config, path, path_provider, permission_handler, pubspec_parse

More

Packages that depend on vosk_flutter