opus_dart 2.0.1
opus_dart: ^2.0.1 copied to clipboard
Wraps libopus in dart, and additionally provides a dart friendly API for encoding and decoding
We analyzed this package 23 days ago, and awarded it 140 pub points (of a possible 160):
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 301 API elements (75.7 %) have documentation comments.
Some symbols that are missing documentation: opus_custom.FunctionsAndGlobals, opus_custom.FunctionsAndGlobals.FunctionsAndGlobals.new, opus_custom.OpusCustomDecoder.OpusCustomDecoder.new, opus_custom.OpusCustomEncoder.OpusCustomEncoder.new, opus_custom.OpusCustomMode.OpusCustomMode.new.
10/10 points: Package has an example
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 not compatible with platform Web
Because:
package:opus_dart/opus_dart.dartthat imports:package:opus_dart/src/opus_dart_streaming.dartthat imports:package:opus_dart/src/opus_dart_misc.dartthat imports:package:opus_dart/wrappers/opus_decoder.dartthat imports:dart:ffi
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 998 issues. Showing the first 2:
INFO: 'elementAt' is deprecated and shouldn't be used. Use operator + instead.
lib/src/opus_dart_misc.dart:61:18
╷
61 │ while (pointer.elementAt(i).value != 0) {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/opus_dart_misc.dart
INFO: The type name '_opus_custom_mode_create_C' isn't an UpperCamelCase identifier.
lib/wrappers/opus_custom.dart:32:9
╷
32 │ typedef _opus_custom_mode_create_C = ffi.Pointer<OpusCustomMode> Function(
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/wrappers/opus_custom.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^1.0.0 |
1.2.1 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.0.0` 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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Dart 3.10.4.
Check the analysis log for details.