media_browser 1.1.5 copy "media_browser: ^1.1.5" to clipboard
media_browser: ^1.1.5 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.

120/ 160
pub points
69
downloads

We analyzed this package 5 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: media_browser,
    • contains a version property, and,
    • does not contain a publish_to property.

Could not find any pubspec.yaml in the repository.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Failed check 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 646776 elements... Initialized dartdoc with 805 libraries 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... Generating docs for library simple_audio_query.dart from package:media_browser/simple_audio_query.dart... 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... [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_RNMBMM/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]

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:media_browser/src/data/datasources/method_channel_datasource.dart that imports:
  • package:media_browser/src/data/datasources/media_datasource.dart that imports:
  • package:media_browser/src/domain/entities/media_permission.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:media_browser/media_browser.dart that imports:
  • package:media_browser/src/data/datasources/method_channel_datasource.dart that imports:
  • package:media_browser/src/data/datasources/media_datasource.dart that imports:
  • package:media_browser/src/domain/entities/media_permission.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.cn/web/wasm for details.

Failed check 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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.16.0 1.17.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.20 2.2.20
path_provider_foundation - 2.4.3 2.4.3
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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.1, Flutter 3.35.7, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
69
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to browse and query local media files including audio, video, documents, and folders from device storage with filtering and sorting capabilities.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, just_audio, plugin_platform_interface

More

Packages that depend on media_browser

Packages that implement media_browser