flutter_image_transform 1.0.0
flutter_image_transform: ^1.0.0 copied to clipboard
Data Uri Transform Using Isolates and Web Workers
We analyzed this package 11 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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
44 out of 93 API elements (47.3 %) have documentation comments.
Some symbols that are missing documentation: flutter_image_transform, flutter_image_transform.ImageTransformIsolate.ImageTransformIsolate.new, flutter_image_transform.ImageTransformIsolate.crop, flutter_image_transform.ImageTransformIsolate.flipHorizontally, flutter_image_transform.ImageTransformIsolate.flipVerically.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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_image_transform/flutter_image_transform.dartthat imports:package:flutter_image_transform/image_worker_pool.dartthat imports:package:flutter_image_transform/image_service.dartthat imports:package:squadron/squadron_service.dartthat imports:package:squadron/src/worker_service.dartthat imports:package:squadron/src/worker_request.dartthat imports:package:squadron/src/worker.dartthat imports:package:squadron/src/xplat/_identity.dartthat imports:package:squadron/src/squadron.dartthat imports:package:squadron/src/channel.dartthat imports:package:squadron/src/native/_channel.dartthat imports:dart:isolate
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 18 issues. Showing the first 2:
WARNING: Unused import: 'package:flutter_image_transform/image_service.dart'.
lib/flutter_image_transform.dart:5:8
╷
5 │ import 'package:flutter_image_transform/image_service.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_image_transform.dart
INFO: Using a colon as the separator before a default value is deprecated and will not be supported in language version 3.0 and later.
lib/flutter_image_transform.dart:14:84
╷
14 │ ImageTransformIsolate({int? minWorkers = 1, int? maxWorkers = 4, int? maxParallel: 4})
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_image_transform.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
image |
^3.2.2 |
3.3.0 | 4.7.2 | |
mime |
^1.0.2 |
1.0.6 | 2.0.0 | |
squadron |
^4.2.0 |
4.3.8 | 7.4.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^3.2.2` on image does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions image to update the constraint.
The constraint `^1.0.2` on mime does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions mime 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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.