flame_audio 1.4.1 copy "flame_audio: ^1.4.1" to clipboard
flame_audio: ^1.4.1 copied to clipboard

Audio support for the Flame game engine. This containst all audio related code will live in the future, using the audioplayers package.

96
likes
150/ 160
pub points
11.5k
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Funding URL doesn't exist.

At the time of the analysis https://patreon.com/bluefireoss 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

27 out of 31 API elements (87.1 %) have documentation comments.

Some symbols that are missing documentation: audio_pool, bgm, flame_audio, flame_audio.FlameAudio.FlameAudio.new.

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

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:flame_audio/flame_audio.dart that imports:
  • package:flame_audio/bgm.dart that imports:
  • package:audioplayers/audioplayers.dart that imports:
  • package:audioplayers/src/audio_cache.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:flame_audio/flame_audio.dart that imports:
  • package:flame_audio/bgm.dart that imports:
  • package:audioplayers/audioplayers.dart that imports:
  • package:audioplayers/src/source.dart that imports:
  • package:audioplayers/src/audioplayer.dart that imports:
  • package:audioplayers_platform_interface/audioplayers_platform_interface.dart that imports:
  • package:audioplayers_platform_interface/method_channel_audioplayers_platform.dart that imports:
  • package:audioplayers_platform_interface/global_platform_interface.dart that imports:
  • package:audioplayers_platform_interface/api/audio_context_config.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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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 ^3.0.0 3.0.1 6.4.0
flame ^1.7.0 1.28.0 1.28.0
synchronized ^3.0.1 3.3.1 3.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
audioplayers_android - 2.0.0 5.2.0
audioplayers_darwin - 3.0.1 6.2.0
audioplayers_linux - 1.0.4 4.2.0
audioplayers_platform_interface - 4.0.0 7.1.0
audioplayers_web - 2.2.0 5.1.0
audioplayers_windows - 1.1.3 4.2.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
http - 0.13.6 1.3.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
ordered_set - 7.0.0 7.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
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
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.5
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 `^3.0.0` on audioplayers does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions audioplayers 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:
96
likes
150
points
11.5k
downloads

Publisher

verified publisherflame-engine.org

Weekly Downloads

Audio support for the Flame game engine. This containst all audio related code will live in the future, using the audioplayers package.

Repository (GitHub)
Contributing

Documentation

API reference

Funding

Consider supporting this project:

opencollective.com
github.com
patreon.com

License

MIT (license)

Dependencies

audioplayers, flame, flutter, synchronized

More

Packages that depend on flame_audio