media_collection_previewer 0.0.1-dev.3
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.
We analyzed this package 3 days ago, and awarded it 135 pub points (of a possible 160):
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
.
10/10 points: 20% or more of the public API has dartdoc comments
40 out of 117 API elements (34.2 %) have documentation comments.
Some symbols that are missing documentation: arrows_bar
, arrows_bar.ArrowsBar
, arrows_bar.ArrowsBar.ArrowsBar.new
, arrows_bar.ArrowsBar.arrowBgColor
, arrows_bar.ArrowsBar.arrowColor
.
10/10 points: Package has an example
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
INFO: Missing type annotation.
lib/media_collection.dart:131:3
╷
131 │ _showGallery(BuildContext context, int index, List<Media> medias) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/media_collection.dart
INFO: Missing type annotation.
lib/models/media.dart:20:7
╷
20 │ get isVideo {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/media.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
audio_session |
^0.1.16 |
0.1.25 | 0.2.2 | |
cached_network_image |
^3.2.3 |
3.4.1 | 3.4.1 | |
collection |
^1.17.1 |
1.19.1 | 1.19.1 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
just_audio |
^0.9.34 |
0.9.46 | 0.10.5 | |
rxdart |
^0.27.7 |
0.27.7 | 0.28.0 | |
syncfusion_flutter_core |
^22.1.36 |
22.2.12 | 31.1.19 | |
syncfusion_flutter_sliders |
^22.1.36 |
22.2.12 | 31.1.19 | |
video_player |
^2.7.0 |
2.10.0 | 2.10.0 | |
web_video_player |
^0.0.1-dev.1 |
0.0.1-dev.2 | 0.0.1-dev.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
cached_network_image_platform_interface |
- | 4.1.1 | 4.1.1 | |
cached_network_image_web |
- | 1.3.1 | 1.3.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
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.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_cache_manager |
- | 3.4.1 | 3.4.1 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.18.1 | 0.20.2 | |
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 | |
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.18 | 2.2.18 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
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 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
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.2.0 | 2.2.0 | |
video_player_android |
- | 2.8.13 | 2.8.13 | |
video_player_avfoundation |
- | 2.8.4 | 2.8.4 | |
video_player_platform_interface |
- | 6.4.0 | 6.4.0 | |
video_player_web |
- | 2.4.0 | 2.4.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
.
Found 5 issues. Showing the first 2:
The constraint `^0.1.16` on audio_session does not support the stable version `0.2.0`.
Try running dart pub upgrade --major-versions audio_session
to update the constraint.
The constraint `^0.9.34` 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.22.23
, Flutter 3.35.3
, Dart 3.9.2
.
Check the analysis log for details.