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 27 hours ago, and awarded it 135 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.9.9+1").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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 1233486 elements... Initialized dartdoc with 1304 libraries Generating docs for library widget/functions/has_permission_io.dart from package:cached_media/widget/functions/has_permission_io.dart... Generating docs for library widget/functions/functions.dart from package:cached_media/widget/functions/functions.dart... Generating docs for library widget/functions/file_as_bytes_web.dart from package:cached_media/widget/functions/file_as_bytes_web.dart... Generating docs for library widget/functions/has_permission_web.dart from package:cached_media/widget/functions/has_permission_web.dart... Generating docs for library widget/functions/file_as_bytes_io.dart from package:cached_media/widget/functions/file_as_bytes_io.dart... [9 more lines] ERR: warning: cached_media has no library level documentation comments from cached_media: (file:///tmp/pana_HNSNJM/lib/widget/cached_media.dart:1:1) warning: unresolved doc reference [true] from cached_media.CachedMedia.startLoadingOnlyWhenVisible: (file:///tmp/pana_HNSNJM/lib/widget/cached_media.dart:41:14) in documentation inherited from cached_media.CachedMedia.startLoadingOnlyWhenVisible: (file:///tmp/pana_HNSNJM/lib/widget/cached_media.dart:41:14) warning: unresolved doc reference [null] from management_cache_io.downloadMediaToLocalCache: (file:///tmp/pana_HNSNJM/lib/management_cache_io.dart:39:17) warning: unresolved doc reference [true] from cached_media_init.initializeCachedMedia: (file:///tmp/pana_HNSNJM/lib/cached_media_init.dart:26:14) error: file already written at "cached_media/index.html" [21 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.dartthat imports:package:cached_media/widget/cached_media.dartthat imports:package:cached_media/widget/functions/functions.dartthat imports:package:cached_media/management_cache_io.dartthat imports:package:cached_media/management_store_io.dartthat imports:package:cached_media/cached_media_init.dartthat imports:package:cached_media/widget/functions/has_permission_io.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `macOS`.
Because:
package:cached_media/cached_media.dartthat imports:package:cached_media/widget/cached_media.dartthat imports:package:cached_media/widget/functions/functions.dartthat imports:package:cached_media/management_cache_io.dartthat imports:package:cached_media/management_store_io.dartthat imports:package:cached_media/cached_media_init.dartthat imports:package:cached_media/widget/functions/has_permission_io.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package not compatible with platform Web
Because:
package:cached_media/cached_media.dartthat imports:package:cached_media/widget/cached_media.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
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.9.1 | 5.9.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.2 | 4.5.2 | |
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.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
get |
- | 4.7.3 | 4.7.3 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.1 | 1.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
mime |
- | 2.0.0 | 2.0.0 | |
native_toolchain_c |
- | 0.17.4 | 0.17.4 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
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 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
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.23.10, Flutter 3.41.0, Dart 3.11.0.
Check the analysis log for details.