opus_dart 3.0.0 icon indicating copy to clipboard operation
opus_dart: ^3.0.0 copied to clipboard

Wraps libopus in dart, and additionally provides a dart friendly API for encoding and decoding

3
likes
100/ 140
pub points
75%
popularity

We analyzed this package 7 days ago, and awarded it 100 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

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.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 229 out of 312 API elements (73.4 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web
icon indicating section status
Pass static analysis
0 / 30icon to trigger folding of the section

0/30 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 /tool/stable/dart-sdk/lib/ffi/dynamic_library.dart)' can't be assigned to the parameter type 'DynamicLibrary (where DynamicLibrary is defined in /tmp/tool-envMUJNZJ/pub-cache-dirATLZWB/hosted/pub.dev/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 /tool/stable/dart-sdk/lib/ffi/allocation.dart)' can't be assigned to the parameter type 'Allocator (where Allocator is defined in /tmp/tool-envMUJNZJ/pub-cache-dirATLZWB/hosted/pub.dev/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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
ffi^1.1.21.2.12.0.1
web_ffi^0.7.10.7.20.7.2
Transitive dependencies
PackageConstraintCompatibleLatest
js-0.6.70.6.7
meta-1.9.11.9.1

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.27, Dart 2.19.4.

3
likes
100
pub points
75%
popularity

Publisher

verified publisher iconepnw.eu

Wraps libopus in dart, and additionally provides a dart friendly API for encoding and decoding

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-2-Clause (LICENSE)

Dependencies

ffi, web_ffi

More

Packages that depend on opus_dart