media_browser 1.2.2
media_browser: ^1.2.2 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 35 hours ago, and awarded it 120 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: 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 652455 elements... Initialized dartdoc with 818 libraries Generating docs for library simple_media_query.dart from package:media_browser/simple_media_query.dart... 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.dart from package:media_browser/simple_audio_query.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 media_browser.dart from package:media_browser/media_browser.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_SNMUGS/lib/src/domain/entities/media_permission.dart:4:7) media_browser: 2.153 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1429)) media_browser: 2.153 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1429)) media_browser: 2.153 - (_Reason.samePackage (+1.000), _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 [388 more lines]
10/10 points: Package has an example
10/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
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
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
Swift Package Manager support:
Package does not support the Swift Package Manager on macOS
The package does not contain macos/media_browser/Package.swift.
Package does not support the Swift Package Manager on iOS
The package does not contain ios/media_browser/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/src/domain/entities/media_error.dart:1:1
╷
1 │ /// Import the required types
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/domain/entities/media_error.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/models/folder_model.dart:113:7
╷
113 │ return '${(totalSize / 1024).toStringAsFixed(1)} KB';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/folder_model.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 |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
audio_session |
- | 0.1.25 | 0.2.3 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.3 | 1.0.3 | |
jni |
- | 1.0.0 | 1.0.0 | |
jni_flutter |
- | 1.0.1 | 1.0.1 | |
just_audio_platform_interface |
- | 4.6.0 | 4.6.0 | |
just_audio_web |
- | 0.4.16 | 0.4.16 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
native_toolchain_c |
- | 0.17.6 | 0.18.0 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
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 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 0.6.0 | 0.6.0 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0+1 | 3.4.0+1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.3 | 4.5.3 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
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.12, Flutter 3.41.7, Dart 3.11.5.
Check the analysis log for details.