flutter_image_editor_enhanced 1.0.1
flutter_image_editor_enhanced: ^1.0.1 copied to clipboard
A powerful Flutter image editor with cropping, resizing, and aspect ratio control. Perfect for apps that need image editing capabilities with custom aspect ratios and size limits.
We analyzed this package 45 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
9 out of 23 API elements (39.1 %) have documentation comments.
Some symbols that are missing documentation: flutter_image_editor_enhanced, flutter_image_editor_enhanced.ImageEditor, flutter_image_editor_enhanced.ImageEditor.ImageEditor.new, flutter_image_editor_enhanced.ImageEditor.defaultAspectRatio, flutter_image_editor_enhanced.ImageEditor.defaultMaxSizeBytes.
10/10 points: Package has 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_image_editor_enhanced/flutter_image_editor.dartthat imports:package:flutter_image_editor_enhanced/src/image_editor_dialog.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
INFO: Unnecessary use of a block function body.
lib/src/image_editor_dialog.dart:67:38
╷
67 │ Widget build(BuildContext context) {
│ ┌──────────────────────────────────────^
68 │ │ return Dialog(
69 │ │ backgroundColor: Colors.transparent,
70 │ │ child: Container(
71 │ │ width: MediaQuery.of(context).size.width * 0.9,
72 │ │ height: MediaQuery.of(context).size.height * 0.8,
73 │ │ decoration: BoxDecoration(
74 │ │ color: Colors.white,
75 │ │ borderRadius: BorderRadius.circular(12),
76 │ │ ),
77 │ │ child: Column(
78 │ │ children: [
79 │ │ _buildHeader(),
80 │ │ Expanded(
81 │ │ child: _isLoading
82 │ └ ? _buildLoadingState()
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/image_editor_dialog.dart
INFO: Unnecessary use of a block function body.
lib/src/image_editor_dialog.dart:94:25
╷
94 │ Widget _buildHeader() {
│ ┌─────────────────────────^
95 │ │ return Container(
96 │ │ padding: const EdgeInsets.all(16),
97 │ │ decoration: BoxDecoration(
98 │ │ color: widget.primaryColor,
99 │ │ borderRadius: const BorderRadius.only(
100 │ │ topLeft: Radius.circular(12),
101 │ │ topRight: Radius.circular(12),
102 │ │ ),
103 │ │ ),
104 │ │ child: Row(
105 │ │ children: [
106 │ │ Expanded(
107 │ │ child: Text(
108 │ │ widget.title,
109 │ │ style: const TextStyle(
110 │ │ color: Colors.white,
111 │ │ fontSize: 18,
│ └───────────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/image_editor_dialog.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
get |
^4.6.6 |
4.7.3 | 4.7.3 | |
image |
^4.1.7 |
4.9.2 | 4.9.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.2.0 | 4.2.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 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.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.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.