easy_audio 0.0.12 copy "easy_audio: ^0.0.12" to clipboard
easy_audio: ^0.0.12 copied to clipboard

Easy record audio file, and friendly convert `speech_to_text`

9
likes
130/ 160
pub points
67
downloads

We analyzed this package 2 days ago, and awarded it 130 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: BSD-3-Clause.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

4 out of 81 API elements (4.9 %) 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: easy_audio, easy_audio.BuildContextAnimatedWaveform, easy_audio.BuildContextAnimatedWaveform.startRecord, easy_audio.BuilderSlider, easy_audio.EasyAudioController.

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

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:easy_audio/easy_audio.dart that imports:
  • package:easy_audio/src/record_audio_coodinator.dart that imports:
  • package:easy_audio/src/presentation/record_modal/record_modal_widget.dart that imports:
  • package:easy_audio/src/presentation/record_modal/bloc/speech_text_bloc.dart that imports:
  • package:easy_audio/src/domain/usecase/speech_to_text_usecase.dart that imports:
  • package:speech_to_text/speech_to_text.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:easy_audio/easy_audio.dart that imports:
  • package:easy_audio/src/record_audio_coodinator.dart that imports:
  • package:easy_audio/src/presentation/record_modal/record_modal_widget.dart that imports:
  • package:easy_audio/src/presentation/record_modal/bloc/speech_text_bloc.dart that imports:
  • package:easy_audio/src/domain/usecase/speech_to_text_usecase.dart that imports:
  • package:speech_to_text/speech_to_text.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Web`.

Because:

  • package:easy_audio/easy_audio.dart that imports:
  • package:easy_audio/src/record_audio_coodinator.dart that imports:
  • package:easy_audio/src/presentation/record_modal/record_modal_widget.dart that imports:
  • package:easy_audio/src/core/services/easy_audio_controller.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:easy_audio/easy_audio.dart that imports:
  • package:easy_audio/src/record_audio_coodinator.dart that imports:
  • package:easy_audio/src/presentation/record_modal/record_modal_widget.dart that imports:
  • package:easy_audio/src/core/services/easy_audio_controller.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

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.

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 7 issues. Showing the first 2:

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

lib/src/domain/usecase/speech_to_text_usecase.dart:40:7

   ╷
40 │       cancelOnError: false,
   │       ^^^^^^^^^^^^^
   ╵

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

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

lib/src/domain/usecase/speech_to_text_usecase.dart:42:7

   ╷
42 │       listenMode: ListenMode.confirmation,
   │       ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/domain/usecase/speech_to_text_usecase.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
audioplayers 5.0.0 5.0.0 6.4.0
flutter_bloc ^9.1.0 9.1.0 9.1.0
path_provider ^2.0.14 2.1.5 2.1.5
record ^4.4.3 4.4.4 6.0.0
speech_to_text ^6.1.1 6.6.0 7.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
audioplayers_android - 4.0.3 5.2.0
audioplayers_darwin - 5.0.2 6.2.0
audioplayers_linux - 3.1.0 4.2.0
audioplayers_platform_interface - 6.1.0 7.1.0
audioplayers_web - 4.1.0 5.1.0
audioplayers_windows - 3.1.0 4.2.0
bloc - 9.0.0 9.0.0
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.17 2.2.17
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
pedantic - 1.11.1 1.11.1 Discontinued
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.4 6.1.4
record_linux - 0.4.1 1.0.0
record_macos - 0.2.2 1.0.0
record_platform_interface - 0.5.0 1.2.0
record_web - 0.5.0 1.1.6
record_windows - 0.7.1 1.0.5
source_span - 1.10.1 1.10.1
speech_to_text_macos - 1.1.0 1.1.0
speech_to_text_platform_interface - 2.3.0 2.3.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.1 3.3.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
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 `5.0.0` on audioplayers does not support the stable version `5.1.0`.

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

The constraint `^4.4.3` on record does not support the stable version `5.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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
9
likes
130
points
67
downloads

Publisher

verified publisherfighttech.vn

Weekly Downloads

Easy record audio file, and friendly convert `speech_to_text`

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

audioplayers, flutter, flutter_bloc, path_provider, record, speech_to_text

More

Packages that depend on easy_audio