sounds_common 2.0.0 sounds_common: ^2.0.0 copied to clipboard
A shared library for the sounds and sounds_codec packages. Provides MediaFormat, Track and small set of utility functions.
We analyzed this package 2 days ago, and awarded it 110 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: LGPL-2.1
.
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.AMPMParts.fromLocalTime
, sounds_common.AMPMParts.am
, 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.
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
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.
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
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.3 |
flutter |
flutter |
0.0.0 | 0.0.0 |
intl |
^0.17.0 |
0.17.0 | 0.20.1 |
logger |
^1.0.0-0 |
1.4.0 | 2.5.0 |
meta |
^1.1.8 |
1.15.0 | 1.16.0 |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
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.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
logging |
- | 1.3.0 | 1.3.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
simple_logger |
- | 1.10.0 | 1.10.0 |
sky_engine |
- | 0.0.0 | 0.0.0 |
stack_trace |
- | 1.12.1 | 1.12.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
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
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.