media_collection_previewer 0.0.1-dev.3 copy "media_collection_previewer: ^0.0.1-dev.3" to clipboard
media_collection_previewer: ^0.0.1-dev.3 copied to clipboard

A versatile and user-friendly Flutter package for efficiently previewing and displaying media collections, such as images, audios and videos, with interactive features.

8
likes
135/ 160
pub points
69
downloads

We analyzed this package 31 hours ago, and awarded it 135 pub points (of a possible 160):

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be well formed Unable to parse 2 image links.

README.md:57:26

   ╷
57 │ <p>You can check out the <a href="'https://github.com/saedkhaled/media_collection_previewer/tree/main/example/main.dart'">example</a> directory
   │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

40 out of 116 API elements (34.5 %) have documentation comments.

Some symbols that are missing documentation: arrows_bar, arrows_bar.ArrowsBar, arrows_bar.ArrowsBar.ArrowsBar, arrows_bar.ArrowsBar.arrowBgColor, arrows_bar.ArrowsBar.arrowColor.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:media_collection_previewer/media_collection_previewer.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:media_collection_previewer/media_collection_previewer.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:media_collection_previewer/media_collection_previewer.dart that declares support for platforms: Android, iOS, 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:media_collection_previewer/media_collection_previewer.dart that imports:
  • package:media_collection_previewer/gallery.dart that imports:
  • package:media_collection_previewer/audio_player/audio_player.dart that imports:
  • package:just_audio/just_audio.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:media_collection_previewer/media_collection_previewer.dart that imports:
  • package:media_collection_previewer/gallery.dart that imports:
  • package:media_collection_previewer/audio_player/audio_player.dart that imports:
  • package:just_audio/just_audio.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 11 issues. Showing the first 2:

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/widgets/more_media.dart:15:29

   ╷
15 │         color: Colors.black.withOpacity(0.7),
   │                             ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/more_media.dart

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/widgets/video_placeholder.dart:29:48

   ╷
29 │                 colors: [theme.playIconBgColor.withOpacity(0.9)],
   │                                                ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/video_placeholder.dart

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

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
audio_session ^0.1.16 0.1.23 0.1.23
cached_network_image ^3.2.3 3.4.1 3.4.1
collection ^1.17.1 1.19.0 1.19.1
equatable ^2.0.5 2.0.7 2.0.7
flutter flutter 0.0.0 0.0.0
just_audio ^0.9.34 0.9.42 0.9.42
rxdart ^0.27.7 0.27.7 0.28.0
syncfusion_flutter_core ^22.1.36 22.2.12 28.1.35
syncfusion_flutter_sliders ^22.1.36 22.2.12 28.1.35
video_player ^2.7.0 2.9.2 2.9.2
web_video_player ^0.0.1-dev.1 0.0.1-dev.2 0.0.1-dev.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.3.0 1.4.0
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.1 3.4.1
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
intl - 0.18.1 0.20.1
just_audio_platform_interface - 4.3.0 4.3.0
just_audio_web - 0.4.13 0.4.13
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
octo_image - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.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
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_html - 2.2.4 2.2.4
universal_io - 2.2.2 2.2.2
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.5 2.6.5
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^0.27.7` on rxdart does not support the stable version `0.28.0`.

Try running dart pub upgrade --major-versions rxdart to update the constraint.

The constraint `^22.1.36` on syncfusion_flutter_core does not support the stable version `23.1.36`.

Try running dart pub upgrade --major-versions syncfusion_flutter_core 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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

8
likes
135
points
69
downloads

Publisher

verified publishersaedk.dev

Weekly Downloads

A versatile and user-friendly Flutter package for efficiently previewing and displaying media collections, such as images, audios and videos, with interactive features.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

audio_session, cached_network_image, collection, equatable, flutter, just_audio, rxdart, syncfusion_flutter_core, syncfusion_flutter_sliders, video_player, web_video_player

More

Packages that depend on media_collection_previewer