flutter_sound 9.28.0 copy "flutter_sound: ^9.28.0" to clipboard
flutter_sound: ^9.28.0 copied to clipboard

A complete api for audio playback and recording. Member of the `Tau` Family. Audio player, audio recorder. Pray for Ukraine.

140/ 160
pub points
73k
downloads

We analyzed this package 4 hours ago, and awarded it 140 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: MPL-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

90 out of 100 API elements (90.0 %) have documentation comments.

Some symbols that are missing documentation: flutter_sound_helper, flutter_sound_helper.WaveHeader.headerLength, flutter_sound_helper.WaveHeader.mBitsPerSample, flutter_sound_helper.WaveHeader.mFormat, flutter_sound_helper.WaveHeader.mNumBytes.

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

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

  • package:flutter_sound/flutter_sound.dart that declares support for platforms: Android, iOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Web`.

Because:

  • package:flutter_sound/flutter_sound.dart that imports:
  • package:flutter_sound/src/tau.dart that imports:
  • package:flutter_sound/public/flutter_sound_player.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:flutter_sound/flutter_sound.dart that imports:
  • package:flutter_sound/public/flutter_sound_helper.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.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.cn/web/wasm for details.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/flutter_sound/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm 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: 'Food' is deprecated and shouldn't be used. Don't use anymore Food, but directely your buffers.

lib/public/flutter_sound_player.dart:144:22

    ╷
144 │   StreamSubscription<Food>?
    │                      ^^^^
    ╵

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

INFO: 'Food' is deprecated and shouldn't be used. Don't use anymore Food, but directely your buffers.

lib/public/flutter_sound_player.dart:159:20

    ╷
159 │   StreamController<Food>? _foodStreamController; //ignore: close_sinks
    │                    ^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/public/flutter_sound_player.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
flutter_sound_platform_interface 9.28.0 9.28.0 10.3.8
flutter_sound_web 9.28.0 9.28.0 10.3.8
logger ^2.0.2 2.6.2 2.6.2
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.1.2 2.1.5 2.1.5
synchronized ^3.1.0 3.4.0 3.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path_provider_android - 2.2.21 2.2.21
path_provider_foundation - 2.4.4 2.4.4
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.2.0 2.2.0
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.

The constraint `9.28.0` on flutter_sound_platform_interface does not support the stable version `10.0.0`.

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

The constraint `9.28.0` on flutter_sound_web does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions flutter_sound_web 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.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1.6k
likes
140
points
73k
downloads

Publisher

verified publishertau.canardoux.xyz

Weekly Downloads

A complete api for audio playback and recording. Member of the `Tau` Family. Audio player, audio recorder. Pray for Ukraine.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

flutter, flutter_sound_platform_interface, flutter_sound_web, logger, path, path_provider, synchronized

More

Packages that depend on flutter_sound

Packages that implement flutter_sound