opus_dart 3.0.0 opus_dart: ^3.0.0 copied to clipboard
Wraps libopus in dart, and additionally provides a dart friendly API for encoding and decoding
We analyzed this package 4 days ago, and awarded it 80 pub points (of a possible 140):
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-2-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
228 out of 287 API elements (79.4 %) have documentation comments.
Some symbols that are missing documentation: opus_custom.FunctionsAndGlobals
, opus_custom.FunctionsAndGlobals.FunctionsAndGlobals
, opus_dart.OpusDecoder.decode
, opus_dart.OpusDecoder.decodeFloat
, opus_dart.OpusDestroyedError.OpusDestroyedError.decoder
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 543 issues. Showing the first 2:
ERROR: The argument type 'DynamicLibrary (where DynamicLibrary is defined in /home/worker/dart/stable/lib/ffi/dynamic_library.dart)' can't be assigned to the parameter type 'DynamicLibrary (where DynamicLibrary is defined in /tmp/analyzerCJXRNR/pub-cache/hosted/20240514t110800-dot-dartlang-pub.appspot.com/web_ffi-0.7.2/lib/src/ffi/types.dart)'.
lib/src/init_ffi.dart:6:24
╷
6 │ return new ApiObject(library, ffipackage.malloc);
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/init_ffi.dart
ERROR: The argument type 'Allocator (where Allocator is defined in /home/worker/dart/stable/lib/ffi/allocation.dart)' can't be assigned to the parameter type 'Allocator (where Allocator is defined in /tmp/analyzerCJXRNR/pub-cache/hosted/20240514t110800-dot-dartlang-pub.appspot.com/web_ffi-0.7.2/lib/src/ffi/types.dart)'.
lib/src/init_ffi.dart:6:33
╷
6 │ return new ApiObject(library, ffipackage.malloc);
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/init_ffi.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
ffi |
^1.1.2 |
1.2.1 | 2.1.2 |
web_ffi |
^0.7.1 |
0.7.2 | 0.7.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.4.0
.
Check the analysis log for details.