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 37 hours 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 60 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 92 API elements (47.8 %) have documentation comments.
Some symbols that are missing documentation: flutter_image_transform
, flutter_image_transform.ImageTransformIsolate.crop
, flutter_image_transform.ImageTransformIsolate.flipHorizontally
, flutter_image_transform.ImageTransformIsolate.flipVerically
, flutter_image_transform.ImageTransformIsolate.gray
.
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.dart
that imports:package:flutter_image_transform/image_worker_pool.dart
that imports:package:flutter_image_transform/image_service.dart
that imports:package:squadron/squadron_service.dart
that imports:package:squadron/src/worker_service.dart
that imports:package:squadron/src/worker_request.dart
that imports:package:squadron/src/worker.dart
that imports:package:squadron/src/xplat/_identity.dart
that imports:package:squadron/src/squadron.dart
that imports:package:squadron/src/channel.dart
that imports:package:squadron/src/native/_channel.dart
that 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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 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 |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
image |
^3.2.2 |
3.3.0 | 4.5.2 |
mime |
^1.0.2 |
1.0.6 | 2.0.0 |
squadron |
^4.2.0 |
4.3.8 | 6.1.6 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
- | 3.6.1 | 4.0.2 |
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
sky_engine |
- | 0.0.0 | 0.0.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
xml |
- | 6.5.0 | 6.5.0 |
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.22.17
, Flutter 3.27.1
, Dart 3.6.0
.
Check the analysis log for details.