ogg_opus_player 0.7.0 copy "ogg_opus_player: ^0.7.0" to clipboard
ogg_opus_player: ^0.7.0 copied to clipboard

An ogg opus file player and recorder for flutter.

6
likes
130/ 160
pub points
82%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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 licenses: BSD-3-Clause, MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

5 out of 20 API elements (25.0 %) have documentation comments.

Some symbols that are missing documentation: ogg_opus_player, ogg_opus_player.OggOpusPlayer, ogg_opus_player.OggOpusPlayer.OggOpusPlayer, ogg_opus_player.OggOpusPlayer.OggOpusPlayer.create, ogg_opus_player.OggOpusPlayer.dispose.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:ogg_opus_player/ogg_opus_player.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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

Package does not support platform `Android`.

Because:

  • package:ogg_opus_player/ogg_opus_player.dart that imports:
  • package:ogg_opus_player/src/player.dart that imports:
  • package:ogg_opus_player/src/player_plugin_impl.dart that imports:
  • package:system_clock/system_clock.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:ogg_opus_player/ogg_opus_player.dart that imports:
  • package:ogg_opus_player/src/player.dart that imports:
  • package:ogg_opus_player/src/player_plugin_impl.dart that imports:
  • package:system_clock/system_clock.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:ogg_opus_player/ogg_opus_player.dart that imports:
  • package:ogg_opus_player/src/player.dart that imports:
  • package:ogg_opus_player/src/player_plugin_impl.dart that imports:
  • package:system_clock/system_clock.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:ogg_opus_player/ogg_opus_player.dart that imports:
  • package:ogg_opus_player/src/player.dart that imports:
  • package:ogg_opus_player/src/player_plugin_impl.dart that imports:
  • package:system_clock/system_clock.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:ogg_opus_player/ogg_opus_player.dart that imports:
  • package:ogg_opus_player/src/player.dart that imports:
  • package:ogg_opus_player/src/player_plugin_impl.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.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/ogg_opus_player/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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

WARNING: This API is available since SDK 2.17.0, but constraints '>=2.16.0 <3.0.0' don't guarantee it.

lib/src/ogg_opus_bindings_generated.dart:30:21

   ╷
30 │     ffi.Pointer<ffi.Char> file_path,
   │                     ^^^^
   ╵

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

WARNING: This API is available since SDK 2.17.0, but constraints '>=2.16.0 <3.0.0' don't guarantee it.

lib/src/ogg_opus_bindings_generated.dart:42:31

   ╷
42 │               ffi.Pointer<ffi.Char>, ffi.Int64)>>('ogg_opus_player_create');
   │                               ^^^^
   ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
ffi ^2.0.1 2.1.3 2.1.3
flutter flutter 0.0.0 0.0.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
system_clock ^2.0.0 2.0.0 2.0.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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.5, Dart 3.5.4.

Check the analysis log for details.

6
likes
130
pub points
82%
popularity

Publisher

verified publishermixin.dev

An ogg opus file player and recorder for flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause, MIT (license)

Dependencies

ffi, flutter, plugin_platform_interface, system_clock

More

Packages that depend on ogg_opus_player