flutter_wake_word 0.0.37 copy "flutter_wake_word: ^0.0.37" to clipboard
flutter_wake_word: ^0.0.37 copied to clipboard

This is an on-device "wake word" package for Flutter. A wake word is a keyword or sentance that activates your application

70/ 160
pub points
575
downloads

We analyzed this package 20 days ago, and awarded it 70 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: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting flutter_wake_word... Discovering libraries... Linking elements... Precaching local docs for 642960 elements... Initialized dartdoc with 793 libraries Generating docs for library flutter_wake_word.dart from package:flutter_wake_word/flutter_wake_word.dart... Generating docs for library KeyWordFlutterPC.dart from package:flutter_wake_word/KeyWordFlutterPC.dart... Generating docs for library use_model.dart from package:flutter_wake_word/use_model.dart... Generating docs for library instance_config.dart from package:flutter_wake_word/instance_config.dart... Generating docs for library flutter_wake_word_method_channel.dart from package:flutter_wake_word/flutter_wake_word_method_channel.dart... [3 more lines] ERR: error: file already written at "flutter_wake_word/FlutterWakeWord/onKeywordDetectionEvent.html" for symbol flutter_wake_word.FlutterWakeWord.onKeywordDetectionEvent: (file:///tmp/pana_ZBDMVP/lib/flutter_wake_word.dart:65:18) conflicting with file already generated by flutter_wake_word.FlutterWakeWord.onKeywordDetectionEvent: (file:///tmp/pana_ZBDMVP/lib/flutter_wake_word.dart:59:32) Dartdoc generates a path and filename to write to for each symbol. 'flutter_wake_word.FlutterWakeWord.onKeywordDetectionEvent' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or class name (if appropriate) of one of the conflicting items can resolve the conflict. Alternatively, use the @nodoc directive in one symbol's documentation comment to hide it. [13 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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:flutter_wake_word/flutter_wake_word.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_wake_word/flutter_wake_word.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_wake_word/flutter_wake_word.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:flutter_wake_word/flutter_wake_word.dart that declares support for platforms: Android, iOS.
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 12 issues. Showing the first 2:

ERROR: The method 'getAllStreams' isn't defined for the type 'UseModel'.

lib/flutter_wake_word.dart:61:33

   ╷
61 │     final allStreams = useModel.getAllStreams(); // ← implement this method to return List<Stream<Map<String, dynamic>>>
   │                                 ^^^^^^^^^^^^^
   ╵

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

ERROR: Undefined name 'StreamGroup'.

lib/flutter_wake_word.dart:62:12

   ╷
62 │     return StreamGroup.merge(allStreams).asBroadcastStream();
   │            ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_wake_word.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
ios_microphone_permission >=0.0.1 <=6.0.0 0.0.1 0.0.1
permission_handler >=11.3.1 <=13.0.0 12.0.1 12.0.1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.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
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

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 3 errors:

  • UNDEFINED_METHOD - lib/flutter_wake_word.dart:61:33 - The method 'getAllStreams' isn't defined for the type 'UseModel'.
  • UNDEFINED_IDENTIFIER - lib/flutter_wake_word.dart:62:12 - Undefined name 'StreamGroup'.
  • DUPLICATE_DEFINITION - lib/flutter_wake_word.dart:65:18 - The name 'onKeywordDetectionEvent' is already defined.

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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
11
likes
70
points
575
downloads

Publisher

unverified uploader

Weekly Downloads

This is an on-device "wake word" package for Flutter. A wake word is a keyword or sentance that activates your application

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, ios_microphone_permission, permission_handler, plugin_platform_interface

More

Packages that depend on flutter_wake_word

Packages that implement flutter_wake_word