cached_media 0.9.9+1
cached_media: ^0.9.9+1 copied to clipboard
Easily cache your media & save bandwidth. You will be able to quickly and easily handle your media into a powerfull widget.
We analyzed this package 29 hours 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: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting cached_media... Discovering libraries... Linking elements... Precaching local docs for 1219281 elements... Initialized dartdoc with 1271 libraries Generating docs for library management_store_web.dart from package:cached_media/management_store_web.dart... Generating docs for library management_store_io.dart from package:cached_media/management_store_io.dart... Generating docs for library model/all_cached_media_info.dart from package:cached_media/model/all_cached_media_info.dart... Generating docs for library management_cache_io.dart from package:cached_media/management_cache_io.dart... Generating docs for library cached_media.dart from package:cached_media/cached_media.dart... [9 more lines] ERR: warning: unresolved doc reference [null] from management_cache_io.downloadMediaToLocalCache: (file:///tmp/pana_OCKKHO/lib/management_cache_io.dart:39:17) warning: unresolved doc reference [true] from cached_media_init.initializeCachedMedia: (file:///tmp/pana_OCKKHO/lib/cached_media_init.dart:26:14) warning: cached_media has no library level documentation comments from cached_media: (file:///tmp/pana_OCKKHO/lib/widget/cached_media.dart:1:1) error: file already written at "cached_media/index.html" for symbol cached_media: (file:///tmp/pana_OCKKHO/lib/widget/cached_media.dart:1:1) conflicting with file already generated by cached_media: (file:///tmp/pana_OCKKHO/lib/cached_media.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. [23 more lines]
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:cached_media/cached_media.dart
that imports:package:cached_media/widget/cached_media.dart
that imports:package:cached_media/widget/functions/functions.dart
that imports:package:cached_media/management_cache_io.dart
that imports:package:cached_media/management_store_io.dart
that imports:package:cached_media/cached_media_init.dart
that imports:package:cached_media/widget/functions/has_permission_io.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `macOS`.
Because:
package:cached_media/cached_media.dart
that imports:package:cached_media/widget/cached_media.dart
that imports:package:cached_media/widget/functions/functions.dart
that imports:package:cached_media/management_cache_io.dart
that imports:package:cached_media/management_store_io.dart
that imports:package:cached_media/cached_media_init.dart
that imports:package:cached_media/widget/functions/has_permission_io.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package not compatible with platform Web
Because:
package:cached_media/cached_media.dart
that imports:package:cached_media/widget/cached_media.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:cached_media/cached_media.dart
that imports:package:cached_media/widget/cached_media.dart
that imports:package:get_storage/get_storage.dart
that imports:package:get_storage/src/storage_impl.dart
that imports:package:get_storage/src/storage/html.dart
that imports:dart:html
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: The referenced identifier is a wildcard.
lib/widget/cached_media.dart:80:77
╷
80 │ onVisibilityChanged: !initiating && !initiated ? (_) async => _.visibleFraction > 0 ? await init() : null : null,
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widget/cached_media.dart
INFO: The referenced identifier is a wildcard.
lib/widget/cached_media.dart:88:77
╷
88 │ onVisibilityChanged: !initiating && !initiated ? (_) async => _.visibleFraction > 0 ? await init() : null : null,
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widget/cached_media.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
any |
1.19.1 | 1.19.1 | |
dio |
any |
5.8.0+1 | 5.8.0+1 | |
get_storage |
any |
2.1.1 | 2.1.1 | |
path_provider |
any |
2.1.5 | 2.1.5 | |
permission_handler |
any |
12.0.1 | 12.0.1 | |
uuid |
any |
4.5.1 | 4.5.1 | |
visibility_detector |
any |
0.4.0+2 | 0.4.0+2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
get |
- | 4.7.2 | 4.7.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
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_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.3.0 | 2.3.0 | |
permission_handler_android |
- | 13.0.1 | 13.0.1 | |
permission_handler_apple |
- | 9.4.7 | 9.4.7 | |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 | |
permission_handler_platform_interface |
- | 4.3.0 | 4.3.0 | |
permission_handler_windows |
- | 0.2.1 | 0.2.1 | |
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 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.1.4 | 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
.
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.