media_browser 1.2.1
media_browser: ^1.2.1 copied to clipboard
A Flutter plugin to browse and query local media files including audio, video, documents, and folders from device storage with filtering and sorting capabilities.
We analyzed this package 15 days ago, and awarded it 115 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Could not find any pubspec.yaml in the repository.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: media_browser, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.2.1").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting media_browser... Discovering libraries... Linking elements... Precaching local docs for 648975 elements... Initialized dartdoc with 811 libraries Generating docs for library simple_audio_query_platform_interface.dart from package:media_browser/simple_audio_query_platform_interface.dart... Generating docs for library simple_audio_query_method_channel.dart from package:media_browser/simple_audio_query_method_channel.dart... Generating docs for library simple_media_query.dart from package:media_browser/simple_media_query.dart... Generating docs for library media_browser.dart from package:media_browser/media_browser.dart... Generating docs for library simple_audio_query.dart from package:media_browser/simple_audio_query.dart... [1 more lines] ERR: warning: ambiguous reexport of media_permission.MediaPermission, canonicalization candidates: (media_browser, media_browser, media_browser) -> media_browser (confidence 0.000) from media_permission.MediaPermission: (file:///tmp/pana_AQPOPG/lib/src/domain/entities/media_permission.dart:4:7) media_browser: 1.153 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1429)) media_browser: 1.153 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1429)) media_browser: 1.153 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1429)) Use {@canonicalFor media_permission.MediaPermission} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library [390 more lines]
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:media_browser/media_browser.dartthat imports:package:media_browser/src/data/datasources/method_channel_datasource.dartthat imports:package:media_browser/src/data/datasources/media_datasource.dartthat imports:package:media_browser/src/domain/entities/media_permission.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:media_browser/media_browser.dartthat imports:package:media_browser/src/data/datasources/method_channel_datasource.dartthat imports:package:media_browser/src/data/datasources/media_datasource.dartthat imports:package:media_browser/src/domain/entities/media_permission.dartthat 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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/media_browser/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 25 issues. Showing the first 2:
INFO: Library names are not necessary.
lib/media_browser.dart:2:9
╷
2 │ library media_browser;
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/media_browser.dart
INFO: Library names are not necessary.
lib/simple_audio_query.dart:2:9
╷
2 │ library media_browser;
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/simple_audio_query.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
just_audio |
^0.9.36 |
0.9.46 | 0.10.5 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
audio_session |
- | 0.1.25 | 0.2.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
just_audio_platform_interface |
- | 4.6.0 | 4.6.0 | |
just_audio_web |
- | 0.4.16 | 0.4.16 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.9.36` on just_audio does not support the stable version `0.10.0`.
Try running dart pub upgrade --major-versions just_audio to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.