any_link_cache 1.0.0
any_link_cache: ^1.0.0 copied to clipboard
Response cache, disk cache, ETag conditional requests, and network image cache for any_link. Replaces cached_network_image. Zero extra dependencies.
We analyzed this package 3 days ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/ramprasads090/any_link was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
15 out of 31 API elements (48.4 %) have documentation comments.
Some symbols that are missing documentation: any_link_cache.AnyLinkImage.AnyLinkImage.new, any_link_cache.AnyLinkImage.diskCachePath, any_link_cache.AnyLinkImage.errorWidget, any_link_cache.AnyLinkImage.fit, any_link_cache.AnyLinkImage.headers.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:any_link_cache/any_link_cache.dartthat imports:package:any_link_cache/src/widgets/any_link_image.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:any_link_cache/any_link_cache.dartthat imports:package:any_link_cache/src/widgets/any_link_image.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Statements in an if should be enclosed in a block.
lib/src/widgets/any_link_image.dart:129:20
╷
129 │ if (mounted) setState(() {
│ ┌────────────────────^
130 │ │ _bytes = bytes;
131 │ │ _loading = false;
132 │ └ });
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/any_link_image.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/widgets/any_link_image.dart:134:20
╷
134 │ if (mounted) setState(() {
│ ┌────────────────────^
135 │ │ _error = true;
136 │ │ _loading = false;
137 │ └ });
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/any_link_image.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
any_link |
^1.0.0 |
1.2.2 | 1.2.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
vector_math |
- | 2.2.0 | 2.4.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.23.14, Flutter 3.44.4, Dart 3.12.2.
Check the analysis log for details.