flutter_cors_image 0.3.13
flutter_cors_image: ^0.3.13 copied to clipboard
A Flutter package that provides image loading solutions for handling CORS issues and problematic images on web platforms.
We analyzed this package 14 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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
121 out of 200 API elements (60.5 %) have documentation comments.
Some symbols that are missing documentation: flutter_cors_image.CachedImageData.CachedImageData.new
, flutter_cors_image.CachedImageData.cacheVersion
, flutter_cors_image.CachedImageData.cachedAt
, flutter_cors_image.CachedImageData.contentType
, flutter_cors_image.CachedImageData.height
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_cors_image/flutter_cors_image.dart
that imports:package:flutter_cors_image/src/image_context_menu.dart
that imports:package:flutter_cors_image/src/web_context_menu_helper.dart
that imports:dart:js
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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 46 issues. Showing the first 2:
INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.
lib/src/custom_network_image.dart:2:8
╷
2 │ import 'dart:typed_data';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/custom_network_image.dart
INFO: 'errorText' is deprecated and shouldn't be used. Use errorWidget parameter instead. This will be removed in v1.0.0.
lib/src/custom_network_image.dart:1794:35
╷
1794 │ final errorMessage = widget.errorText?.isNotEmpty == true ? widget.errorText! : 'Image failed to load';
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/custom_network_image.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cupertino_icons |
^1.0.6 |
1.0.8 | 1.0.8 | |
extended_image |
^9.1.0 |
9.1.0 | 10.0.1 | |
http |
^1.2.2 |
1.5.0 | 1.5.0 | |
image |
^4.0.0 |
4.5.4 | 4.5.4 | |
intl |
>=0.19.0 <0.21.0 |
0.20.2 | 0.20.2 | |
path_provider |
^2.1.3 |
2.1.5 | 2.1.5 | |
web |
^1.1.1 |
1.1.1 | 1.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
extended_image_library |
- | 4.0.6 | 5.0.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
http_client_helper |
- | 3.0.0 | 3.0.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
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.18 | 2.2.18 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
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.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.3 | 6.0.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^9.1.0` on extended_image does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions extended_image
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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.