sounds_common 2.0.0 copy "sounds_common: ^2.0.0" to clipboard
sounds_common: ^2.0.0 copied to clipboard

discontinued

A shared library for the sounds and sounds_codec packages. Provides MediaFormat, Track and small set of utility functions.

1
likes
110/ 160
pub points
54
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: LGPL-2.1.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

102 out of 184 API elements (55.4 %) have documentation comments.

Some symbols that are missing documentation: sounds_common.AMPMParts, sounds_common.AMPMParts.AMPMParts.fromLocalTime, sounds_common.AMPMParts.am, sounds_common.AMPMParts.hour, sounds_common.AMPMParts.minute.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:sounds_common/sounds_common.dart that imports:
  • package:sounds_common/src/util/downloader.dart that imports:
  • package:sounds_common/src/util/log.dart that imports:
  • package:stacktrace_impl/stacktrace_impl.dart that imports:
  • package:stacktrace_impl/src/stacktrace_impl.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:sounds_common/sounds_common.dart that imports:
  • package:sounds_common/src/util/downloader.dart that imports:
  • package:sounds_common/src/util/log.dart that imports:
  • package:stacktrace_impl/stacktrace_impl.dart that imports:
  • package:stacktrace_impl/src/stacktrace_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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 9 issues. Showing the first 2:

INFO: Missing a corresponding override of 'hashCode'.

lib/src/media_format/media_format.dart:43:17

   ╷
43 │   bool operator ==(covariant MediaFormat other) {
   │                 ^^
   ╵

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

INFO: The import of 'playback_disposition.dart' is unnecessary because all of the used elements are also provided by the import of '../sounds_common.dart'.

lib/src/track.dart:8:8

  ╷
8 │ import 'playback_disposition.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
completer_ex ^3.0.0 3.0.0 4.0.3
intl ^0.17.0 0.17.0 0.20.2
logger ^1.0.0-0 1.4.0 2.6.0
meta ^1.1.8 1.16.0 1.17.0
path ^1.8.0 1.9.1 1.9.1
pedantic ^1.9.0 1.11.1 1.11.1 Discontinued
stacktrace_impl ^2.0.0 2.3.0 2.3.0 Discontinued
uuid ^3.0.0 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
simple_logger - 1.10.0 1.10.0
stack_trace - 1.12.1 1.12.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0

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

Found 5 issues. Showing the first 2:

The constraint `^3.0.0` on completer_ex does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions completer_ex to update the constraint.

The constraint `^0.17.0` on intl does not support the stable version `0.18.0`.

Try running dart pub upgrade --major-versions intl to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNCHECKED_USE_OF_NULLABLE_VALUE - lib/src/util/log.dart:108:23 - A nullable expression can't be used as an iterator in a for-in loop.
  • UNCHECKED_USE_OF_NULLABLE_VALUE - lib/src/util/log.dart:142:23 - A nullable expression can't be used as an iterator in a for-in loop.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
110
points
54
downloads

Publisher

verified publisheronepub.dev

Weekly Downloads

A shared library for the sounds and sounds_codec packages. Provides MediaFormat, Track and small set of utility functions.

Repository (GitHub)

Documentation

Documentation
API reference

License

LGPL-2.1 (license)

Dependencies

completer_ex, flutter, intl, logger, meta, path, pedantic, stacktrace_impl, uuid

More

Packages that depend on sounds_common