twin_stream 0.2.0 copy "twin_stream: ^0.2.0" to clipboard
twin_stream: ^0.2.0 copied to clipboard

Simultaneous speech-to-text and audio file recording in a single API. Solves the Android microphone lock issue that prevents using recording and speech recognition at the same time.

130/ 160
pub points
11
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/anuraj07/TwinStream was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/anuraj07/TwinStream was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/anuraj07/TwinStream/issues 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

74 out of 74 API elements (100.0 %) have documentation comments.

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

  • ✓ Android

  • ✓ Windows

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:twin_stream/twin_stream.dart that imports:
  • package:twin_stream/src/twin_stream_controller.dart that imports:
  • package:twin_stream/src/platform/twin_stream_android.dart that imports:
  • package:vosk_flutter/vosk_flutter.dart that declares support for platforms: Android, Windows, Linux.
Package does not support platform `Linux`.

Because:

  • package:twin_stream/twin_stream.dart that imports:
  • package:twin_stream/src/twin_stream_result.dart that imports:
  • package:speech_to_text/speech_recognition_result.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `macOS`.

Because:

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

Because:

  • package:twin_stream/twin_stream.dart that imports:
  • package:twin_stream/src/twin_stream_controller.dart that imports:
  • package:twin_stream/src/platform/twin_stream_android.dart that imports:
  • package:vosk_flutter/vosk_flutter.dart that declares support for platforms: Android, Windows, Linux.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 11 issues. Showing the first 2:

INFO: 'localeId' is deprecated and shouldn't be used. Use SpeechListenOptions.localeId instead.

lib/src/platform/twin_stream_android.dart:278:7

    ╷
278 │       localeId: _config.localeId,
    │       ^^^^^^^^
    ╵

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

INFO: 'listenFor' is deprecated and shouldn't be used. Use SpeechListenOptions.listenFor instead.

lib/src/platform/twin_stream_android.dart:279:7

    ╷
279 │       listenFor: _config.listenFor,
    │       ^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
path ^1.9.1 1.9.1 1.9.1
path_provider ^2.1.5 2.1.6 2.1.6
record ^5.2.1 5.2.1 7.1.1
speech_to_text ^7.3.0 7.4.0 7.4.0
vosk_flutter ^0.3.48 0.3.48 0.3.48
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.3.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
build_cli_annotations - 2.1.1 2.1.1
characters - 1.4.1 1.4.1
checked_yaml - 2.0.4 2.0.4
clock - 1.1.3 1.1.3
code_assets - 2.0.0 2.0.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
fixnum - 1.1.1 1.1.1
hooks - 2.2.0 2.2.0
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
jni - 1.0.3 1.0.3
jni_flutter - 1.0.3 1.0.3
jni_util - 1.0.0 1.0.0
json_annotation - 4.12.0 4.12.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
objective_c - 9.6.0 9.6.0
package_config - 2.2.0 3.0.0
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
permission_handler - 10.4.5 13.0.2
permission_handler_android - 10.3.6 14.1.0
permission_handler_apple - 9.1.4 9.6.1
permission_handler_platform_interface - 3.12.0 4.4.1
permission_handler_windows - 0.1.3 0.2.2
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
pubspec_parse - 1.6.0 1.6.0
record_android - 1.5.2 2.2.0
record_darwin - 1.2.2 1.2.2 Discontinued
record_linux - 0.7.2 2.1.1
record_platform_interface - 1.6.0 2.1.0
record_use - 1.1.1 1.1.1
record_web - 1.3.0 2.1.3
record_windows - 1.0.7 2.3.0
source_span - 1.10.2 1.10.2
speech_to_text_platform_interface - 2.4.0 2.4.0
speech_to_text_windows - 1.0.1 1.0.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
uuid - 4.6.0 4.6.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

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

The constraint `^5.2.1` on record does not support the stable version `6.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Simultaneous speech-to-text and audio file recording in a single API. Solves the Android microphone lock issue that prevents using recording and speech recognition at the same time.

Repository (GitHub)
View/report issues

Topics

#audio #speech-to-text #recording #microphone #speech-recognition

License

MIT (license)

Dependencies

flutter, path, path_provider, record, speech_to_text, vosk_flutter

More

Packages that depend on twin_stream