telegram_image_cropper 1.0.2
telegram_image_cropper: ^1.0.2 copied to clipboard
A flexible image cropping widget with InteractiveViewer, supporting web, desktop, and mobile.
We analyzed this package 13 hours ago, and awarded it 150 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
7 out of 9 API elements (77.8 %) have documentation comments.
Some symbols that are missing documentation: telegram_image_cropper, telegram_image_cropper.TelegramImageCropper.TelegramImageCropper.new.
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
WASM-ready: This package is compatible with runtime wasm. See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Cast from 'int' to 'JSAny' casts a Dart value to a JS interop type, which might not be platform-consistent.
lib/src/crop_image_service/web_worker.dart:18:52
╷
18 │ web.ImageData(clampedBytes.toJS, imageWidth, imageHeight as JSAny);
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/crop_image_service/web_worker.dart
INFO: Don't use 'BuildContext's across async gaps.
lib/telegram_image_cropper.dart:188:18
╷
188 │ context: context,
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/telegram_image_cropper.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
image |
^4.9.1 |
4.10.0 | 4.10.0 | |
vector_math |
^2.1.4 |
2.4.2 | 2.4.2 | |
web |
^1.1.1 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.3.0 | 4.3.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
posix |
- | 6.5.2 | 6.5.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.