miniaudio_dart 1.0.5 copy "miniaudio_dart: ^1.0.5" to clipboard
miniaudio_dart: ^1.0.5 copied to clipboard

A high-level real-time audio playback library based on Miniaudio.

80/ 160
pub points
140
downloads

We analyzed this package 5 hours ago, and awarded it 80 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

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: miniaudio_dart,
    • contains a version property, and,
    • does not contain a publish_to property.

miniaudio_dart/pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

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

50 out of 181 API elements (27.6 %) have documentation comments.

Some symbols that are missing documentation: miniaudio_dart, miniaudio_dart.AudioData, miniaudio_dart.AudioData.AudioData.new, miniaudio_dart.AudioData.buffer, miniaudio_dart.AudioData.channels.

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

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

ERROR: Classes can only extend other classes.

lib/test/minisound_mock.dart:8:33

  ╷
8 │ class MiniaudioDartMock extends MiniaudioDartPlatform {
  │                                 ^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: Missing concrete implementations of 'abstract interface class PlatformEngine.enumeratePlaybackDevices', 'abstract interface class PlatformEngine.getPlaybackDeviceGeneration', and 'abstract interface class PlatformEngine.selectPlaybackDeviceByIndex'.

lib/test/minisound_mock.dart:21:7

   ╷
21 │ class EngineMock implements PlatformEngine {
   │       ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/test/minisound_mock.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
miniaudio_dart_ffi 1.0.5 1.0.5 1.0.5
miniaudio_dart_platform_interface 1.0.5 1.0.5 1.0.5
miniaudio_dart_web 1.0.5 1.0.5 1.0.5
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
change_case - 2.2.0 2.2.0
characters - 1.4.0 1.4.1
code_assets - 0.19.4 0.19.8
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
glob - 2.1.3 2.1.3
hooks - 0.19.5 0.20.4
js - 0.6.7 0.7.2 Discontinued
js_interop_utils - 1.0.8 1.0.8
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
native_toolchain_cmake - 0.0.6-dev.1 0.1.0
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.0
source_span - 1.10.1 1.10.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
vector_math - 2.2.0 2.2.0
yaml - 3.1.3 3.1.3

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

  • EXTENDS_NON_CLASS - lib/test/minisound_mock.dart:8:33 - Classes can only extend other classes.
  • NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER - lib/test/minisound_mock.dart:21:7 - Missing concrete implementations of 'abstract interface class PlatformEngine.enumeratePlaybackDevices', 'abstract interface class PlatformEngine.getPlaybackDeviceGeneration', and 'abstract interface class PlatformEngine.selectPlaybackDeviceByIndex'.
  • NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER - lib/test/minisound_mock.dart:62:7 - Missing concrete implementation of 'abstract interface class PlatformSound.rebindToEngine'.

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.22.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
80
points
140
downloads

Publisher

unverified uploader

Weekly Downloads

A high-level real-time audio playback library based on Miniaudio.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, miniaudio_dart_ffi, miniaudio_dart_platform_interface, miniaudio_dart_web

More

Packages that depend on miniaudio_dart