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

Easy record audio file, and friendly convert `speech_to_text`

6
likes
130/ 160
pub points
47%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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.

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 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
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
audioplayers 5.0.0 5.0.0 6.1.0
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.1.3 8.1.6 8.1.6
path_provider ^2.0.14 2.1.5 2.1.5
record ^4.4.3 4.4.4 5.2.0
speech_to_text ^6.1.1 6.6.0 7.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
audioplayers_android - 4.0.3 5.0.0
audioplayers_darwin - 5.0.2 6.0.0
audioplayers_linux - 3.1.0 4.0.0
audioplayers_platform_interface - 6.1.0 7.0.0
audioplayers_web - 4.1.0 5.0.1
audioplayers_windows - 3.1.0 4.0.0
bloc - 8.1.4 8.1.4
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
record_linux - 0.4.1 0.7.2
record_macos - 0.2.2 0.2.2
record_platform_interface - 0.5.0 1.2.0
record_web - 0.5.0 1.1.4
record_windows - 0.7.1 1.0.4
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
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.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
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.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

6
likes
130
pub points
47%
popularity

Publisher

unverified uploader

Easy record audio file, and friendly convert `speech_to_text`

Repository (GitHub)
View/report issues

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