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/ 140
pub points
43%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger 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: LGPL-2.1.

failed
Provide documentation
10 / 20trigger folding of the section

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

102 out of 178 API elements (57.3 %) have documentation comments.

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
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 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
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 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
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
completer_ex ^3.0.0 3.0.0 4.0.0
flutter flutter 0.0.0 0.0.0
intl ^0.17.0 0.17.0 0.19.0
logger ^1.0.0-0 1.4.0 2.2.0
meta ^1.1.8 1.11.0 1.14.0
path ^1.8.0 1.9.0 1.9.0
pedantic ^1.9.0 1.11.1 1.11.1
stacktrace_impl ^2.0.0 2.3.0 2.3.0
uuid ^3.0.0 3.0.7 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
simple_logger - 1.9.0+3 1.9.0+3
sky_engine - 0.0.99 0.0.99
stack_trace - 1.11.1 1.11.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4

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

Found 4 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.

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

1
likes
110
pub points
43%
popularity

Publisher

verified publisheronepub.dev

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

Repository (GitHub)
View/report issues

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