lru_image_cache 0.5.2
lru_image_cache: ^0.5.2 copied to clipboard
A lightweight LRU image cache that keeps references for binary data and retrieves Image objects.
We analyzed this package 2 days ago, and awarded it 80 pub points (of a possible 140):
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
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/10 points: 20% or more of the public API has dartdoc comments
- 0 out of 18 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ MacOS
- ✓ Web
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: The import of 'package:flutter/painting.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/widgets.dart'.
lib/lru_image_cache.dart:6:8
╷
6 │ import 'package:flutter/painting.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/lru_image_cache.dart
INFO: 'List.List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead.
lib/lru_image_cache.dart:18:24
╷
18 │ final _identifiers = List<String>();
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/lru_image_cache.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter | flutter | 0.0.0 | 0.0.0 |
http | ^0.12.1 | 0.12.2 | 0.13.5 |
mini_log | ^0.5.1 | 0.5.1 | 0.5.1 |
synchronized | ^2.2.0+2 | 2.2.0+2 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.2.1 | 1.2.1 |
charcode | - | 1.3.1 | 1.3.1 |
collection | - | 1.17.0 | 1.17.1 |
http_parser | - | 3.1.4 | 4.0.2 |
js | - | 0.6.5 | 0.6.7 |
material_color_utilities | - | 0.2.0 | 0.2.0 |
meta | - | 1.8.0 | 1.9.0 |
path | - | 1.8.3 | 1.8.3 |
pedantic | - | 1.11.1 | 1.11.1 |
sky_engine | - | 0.0.99 | 0.0.99 |
source_span | - | 1.9.1 | 1.9.1 |
stack_trace | - | 1.11.0 | 1.11.0 |
string_scanner | - | 1.2.0 | 1.2.0 |
term_glyph | - | 1.2.1 | 1.2.1 |
typed_data | - | 1.3.1 | 1.3.1 |
vector_math | - | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.12.1` on http does not support the stable version `0.13.0`.
Try running dart pub upgrade --major-versions http
to update the constraint.
The constraint `^2.2.0+2` on synchronized does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions synchronized
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Package does not opt in to null safety.
Package language version (indicated by the sdk constraint `>=2.7.0 <3.0.0`) is less than 2.12.
Consider migrating.
Analysed with Pana 0.21.25
, Flutter 3.7.0
, Dart 2.19.0
.