flutter_cors_image 0.3.12
flutter_cors_image: ^0.3.12 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 3 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
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/50 points: code has no errors, warnings, lints, or formatting issues
Found 26 issues. Showing the first 2:
ERROR: The function 'allowInterop' isn't defined.
lib/src/web_clipboard_helper.dart:117:29
╷
117 │ final thenCallback = js.allowInterop((result) {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/web_clipboard_helper.dart
ERROR: The function 'allowInterop' isn't defined.
lib/src/web_clipboard_helper.dart:122:30
╷
122 │ final catchCallback = js.allowInterop((error) {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/web_clipboard_helper.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.6.0 | 1.6.0 | |
image |
^4.0.0 |
4.7.2 | 4.7.2 | |
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.7 | 3.0.7 | |
extended_image_library |
- | 4.0.6 | 5.0.1 | |
ffi |
- | 2.1.5 | 2.1.5 | |
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.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.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.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 6 errors:
UNDEFINED_FUNCTION-lib/src/web_clipboard_helper.dart:117:29- The function 'allowInterop' isn't defined.UNDEFINED_FUNCTION-lib/src/web_clipboard_helper.dart:122:30- The function 'allowInterop' isn't defined.UNDEFINED_FUNCTION-lib/src/web_clipboard_helper.dart:217:27- The function 'allowInterop' isn't defined.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.