flutter_luban 0.1.15
flutter_luban: ^0.1.15 copied to clipboard
An image compress package like Luban for Dart, based on image. This library has no system platform constraints.
We analyzed this package 26 hours ago, and awarded it 130 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: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 16 API elements (12.5 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: flutter_luban, flutter_luban.CompressMode, flutter_luban.CompressObject, flutter_luban.CompressObject.CompressObject.new, flutter_luban.CompressObject.imageFile.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:flutter_luban/flutter_luban.dartthat imports:package:flutter_luban/src/flutter_luban.dartthat imports:dart:isolate
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/flutter_luban.dart:211:10
╷
211 │ static _large2SmallCompressImage({
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_luban.dart
INFO: Missing type annotation.
lib/src/flutter_luban.dart:244:10
╷
244 │ static _small2LargeCompressImage({
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_luban.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
image |
^4.5.4 |
4.5.4 | 4.5.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
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 | |
posix |
- | 6.0.3 | 6.0.3 | |
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.
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.2, Dart 3.10.0.
Check the analysis log for details.