audio_service 0.18.4
audio_service: ^0.18.4 copied to clipboard
Flutter plugin to play audio in the background while the screen is off.
We analyzed this package 17 hours ago, and awarded it 120 pub points (of a possible 130):
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: Package has an example
10/10 points: 20% or more of the public API has dartdoc comments
- 455 out of 471 API elements (96.6 %) have documentation comments.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ MacOS
- ✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:audio_service/audio_service.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:audio_service/audio_service.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Web`.
Because:
package:audio_service/audio_service.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/json_cache_info_repository.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
INFO: Close instances of `dart.core.Sink`.
lib/audio_service.dart:1889:40
╷
1889 │ final BehaviorSubject<PlaybackState> _playbackState = BehaviorSubject();
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/audio_service.dart
INFO: Close instances of `dart.core.Sink`.
lib/audio_service.dart:1890:42
╷
1890 │ final BehaviorSubject<List<MediaItem>> _queue = BehaviorSubject();
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/audio_service.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
audio_service_platform_interface | ^0.1.0 | 0.1.0 | 0.1.0 |
audio_service_web | ^0.1.1 | 0.1.1 | 0.1.1 |
audio_session | ^0.1.6+1 | 0.1.6+1 | 0.1.6+1 |
clock | ^1.1.0 | 1.1.0 | 1.1.0 |
flutter | flutter | 0.0.0 | 0.0.0 |
flutter_cache_manager | ^3.0.1 | 3.3.0 | 3.3.0 |
flutter_web_plugins | flutter | 0.0.0 | 0.0.0 |
js | ^0.6.3 | 0.6.4 | 0.6.4 |
rxdart | >=0.26.0 <0.28.0 | 0.27.3 | 0.27.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async | - | 2.9.0 | 2.9.0 |
characters | - | 1.2.0 | 1.2.1 |
charcode | - | 1.3.1 | 1.3.1 |
collection | - | 1.16.0 | 1.16.0 |
crypto | - | 3.0.2 | 3.0.2 |
ffi | - | 1.2.1 | 1.2.1 |
file | - | 6.1.2 | 6.1.2 |
http | - | 0.13.4 | 0.13.4 |
http_parser | - | 4.0.0 | 4.0.0 |
material_color_utilities | - | 0.1.4 | 0.1.5 |
meta | - | 1.7.0 | 1.7.0 |
path | - | 1.8.1 | 1.8.1 |
path_provider | - | 2.0.10 | 2.0.10 |
path_provider_android | - | 2.0.14 | 2.0.14 |
path_provider_ios | - | 2.0.9 | 2.0.9 |
path_provider_linux | - | 2.1.6 | 2.1.6 |
path_provider_macos | - | 2.0.6 | 2.0.6 |
path_provider_platform_interface | - | 2.0.4 | 2.0.4 |
path_provider_windows | - | 2.0.6 | 2.0.6 |
pedantic | - | 1.11.1 | 1.11.1 |
platform | - | 3.1.0 | 3.1.0 |
plugin_platform_interface | - | 2.1.2 | 2.1.2 |
process | - | 4.2.4 | 4.2.4 |
sky_engine | - | 0.0.99 | 0.0.99 |
source_span | - | 1.9.0 | 1.9.0 |
sqflite | - | 2.0.2+1 | 2.0.2+1 |
sqflite_common | - | 2.2.1+1 | 2.2.1+1 |
string_scanner | - | 1.1.1 | 1.1.1 |
synchronized | - | 3.0.0+2 | 3.0.0+2 |
term_glyph | - | 1.2.0 | 1.2.0 |
typed_data | - | 1.3.1 | 1.3.1 |
uuid | - | 3.0.6 | 3.0.6 |
vector_math | - | 2.1.2 | 2.1.2 |
win32 | - | 2.6.1 | 2.6.1 |
xdg_directories | - | 0.2.0+1 | 0.2.0+1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Package and dependencies are fully migrated to null safety!
Analysed with Pana 0.21.12
, Flutter 3.0.0
, Dart 2.17.0
.