flutter_async_cache 0.0.3
flutter_async_cache: ^0.0.3 copied to clipboard
A smart caching system for API calls with automatic refresh, offline support, and cache invalidation
We analyzed this package 2 days ago, and awarded it 80 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
111 out of 151 API elements (73.5 %) have documentation comments.
Some symbols that are missing documentation: flutter_async_cache, flutter_async_cache.CacheEntryNotFoundException.CacheEntryNotFoundException.new, flutter_async_cache.CacheEntryNotFoundException.key, flutter_async_cache.CacheEvent.CacheEvent.added, flutter_async_cache.CacheEvent.CacheEvent.backgroundRefresh.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: The type 'ConnectivityResult' isn't exhaustively matched by the switch cases since it doesn't match the pattern 'ConnectivityResult.satellite'.
lib/src/network_connectivity.dart:137:5
╷
137 │ switch (this) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/network_connectivity.dart
ERROR: The type 'ConnectivityResult' isn't exhaustively matched by the switch cases since it doesn't match the pattern 'ConnectivityResult.satellite'.
lib/src/network_connectivity.dart:152:5
╷
152 │ switch (this) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/network_connectivity.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
connectivity_plus |
^6.0.0 |
6.1.5 | 7.1.1 | |
http |
^1.0.0 |
1.6.0 | 1.6.0 | |
shared_preferences |
^2.0.0 |
2.5.5 | 2.5.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.1.0 | 2.1.0 | |
dbus |
- | 0.7.12 | 0.7.12 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
nm |
- | 0.5.0 | 0.5.0 | |
path |
- | 1.9.1 | 1.9.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 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.23 | 2.4.23 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
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.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.0.0` on connectivity_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus 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.23.12, Flutter 3.41.7, Dart 3.11.5.
Check the analysis log for details.