enough_media 1.0.0
enough_media: ^1.0.0 copied to clipboard
Extensible collection of media viewers for preview and interactive experiences.
We analyzed this package 2 days ago, and awarded it 140 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: MPL-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
420 out of 606 API elements (69.3 %) have documentation comments.
Some symbols that are missing documentation: all_interactive_media
, all_preview
, audio_interactive_media
, audio_interactive_media.AudioInteractiveMedia.AudioInteractiveMedia.new
, audio_interactive_media.AudioInteractiveMedia.mediaProvider
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:enough_media/enough_media.dart
that imports:package:chewie/chewie.dart
that imports:package:chewie/src/material/material_desktop_controls.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:enough_media/enough_media.dart
that imports:package:chewie/chewie.dart
that imports:package:chewie/src/material/material_desktop_controls.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `macOS`.
Because:
package:enough_media/enough_media.dart
that imports:package:chewie/chewie.dart
that imports:package:chewie/src/material/material_desktop_controls.dart
that imports:package:chewie/src/chewie_player.dart
that imports:package:wakelock/wakelock.dart
that imports:package:wakelock_windows/wakelock_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Web`.
Because:
package:enough_media/enough_media.dart
that imports:package:chewie/chewie.dart
that imports:package:chewie/src/material/material_desktop_controls.dart
that imports:package:chewie/src/chewie_player.dart
that imports:package:wakelock/wakelock.dart
that imports:package:wakelock_macos/wakelock_macos.dart
that declares support for platforms:macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:enough_media/enough_media.dart
that imports:package:chewie/chewie.dart
that imports:package:chewie/src/material/material_desktop_controls.dart
that imports:package:chewie/src/chewie_player.dart
that imports:package:wakelock/wakelock.dart
that imports:package:wakelock_macos/wakelock_macos.dart
that declares support for platforms:macOS
.
Package does not support platform `iOS`.
Because:
package:enough_media/enough_media.dart
that imports:package:chewie/chewie.dart
that imports:package:chewie/src/material/material_desktop_controls.dart
that imports:package:chewie/src/chewie_player.dart
that imports:package:wakelock/wakelock.dart
that imports:package:wakelock_macos/wakelock_macos.dart
that declares support for platforms:macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:enough_media/enough_media.dart
that imports:package:chewie/chewie.dart
that imports:package:chewie/src/material/material_desktop_controls.dart
that imports:package:video_player/video_player.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 4 issues. Showing the first 2:
INFO: 'VideoPlayerController.network' is deprecated and shouldn't be used. Use VideoPlayerController.networkUrl instead.
lib/interactive/video_interactive_media.dart:44:26
╷
44 │ _videoController = VideoPlayerController.network(provider.url);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/interactive/video_interactive_media.dart
INFO: The import of 'package:enough_media/media_provider.dart' is unnecessary because all of the used elements are also provided by the import of 'package:enough_media/enough_media.dart'.
lib/interactive_media_widget.dart:2:8
╷
2 │ import 'package:enough_media/media_provider.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/interactive_media_widget.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
chewie |
>=1.0.0 <3.0.0 |
1.5.0 | 1.11.3 | |
flutter_sound_lite |
>=8.0.0+2 <10.0.0 |
8.5.0 | 8.5.0 | Discontinued |
native_pdf_view |
>=4.0.0 <6.0.0 |
5.0.0 | 6.0.0+1 | |
path_provider |
>=2.0.1 <4.0.0 |
2.0.15 | 2.1.5 | |
photo_view |
>=0.11.1 <2.0.0 |
0.13.0 | 0.15.0 | |
video_player |
>=2.0.0 <4.0.0 |
2.9.5 | 2.9.5 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.6 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
csslib |
- | 1.0.2 | 1.0.2 | |
cupertino_icons |
- | 1.0.8 | 1.0.8 | |
device_info_plus |
- | 3.2.4 | 11.3.3 | |
device_info_plus_linux |
- | 2.1.1 | 5.0.0 | Discontinued |
device_info_plus_macos |
- | 2.2.3 | 5.0.0 | Discontinued |
device_info_plus_platform_interface |
- | 2.6.1 | 7.0.2 | |
device_info_plus_web |
- | 2.1.0 | 5.0.0 | Discontinued |
device_info_plus_windows |
- | 2.1.1 | 6.0.0 | Discontinued |
extension |
- | 0.2.0 | 0.6.0 | |
ffi |
- | 1.2.1 | 2.1.4 | |
file |
- | 6.1.4 | 7.0.1 | |
flutter_sound_platform_interface |
- | 8.5.0 | 10.3.0 | |
flutter_sound_web |
- | 8.5.0 | 10.3.0 | |
html |
- | 0.15.5+1 | 0.15.5+1 | |
image |
- | 3.3.0 | 4.5.4 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logger |
- | 1.4.0 | 2.5.0 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
native_pdf_renderer |
- | 4.0.1 | 5.0.0+1 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
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.0.7 | 2.3.0 | |
petitparser |
- | 6.1.0 | 6.1.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
provider |
- | 6.1.4 | 6.1.4 | |
recase |
- | 4.1.0 | 4.1.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
synchronized |
- | 3.3.1 | 3.3.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_platform |
- | 1.1.0 | 1.1.0 | |
uuid |
- | 3.0.7 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
video_player_android |
- | 2.8.2 | 2.8.2 | |
video_player_avfoundation |
- | 2.7.1 | 2.7.1 | |
video_player_platform_interface |
- | 6.3.0 | 6.3.0 | |
video_player_web |
- | 2.3.4 | 2.3.4 | |
wakelock |
- | 0.6.2 | 0.6.2 | Discontinued |
wakelock_macos |
- | 0.4.0 | 0.4.0 | |
wakelock_platform_interface |
- | 0.3.0 | 0.3.0 | |
wakelock_web |
- | 0.4.0 | 0.4.0 | |
wakelock_windows |
- | 0.2.0 | 0.2.1 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 2.6.1 | 5.12.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=4.0.0 <6.0.0` on native_pdf_view does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions native_pdf_view
to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- flutter_sound_lite.
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.