n_image_picker 3.3.1
n_image_picker: ^3.3.1 copied to clipboard
Configurable and easy-to-use cross-platform image selector.
We analyzed this package 39 hours ago, and awarded it 140 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
.
0/10 points: 20% or more of the public API has dartdoc comments
17 out of 107 API elements (15.9 %) 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: n_image_picker_view
, n_image_picker_view.ImageController
, n_image_picker_view.ImageController.ImageController.new
, n_image_picker_view.ImageController.bytes
, n_image_picker_view.ImageController.changeClass
.
10/10 points: Package has an example and has no issues with screenshots
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:n_image_picker/n_image_picker.dart
that imports:package:n_image_picker/src/presentation/image_viewer.dart
that imports:package:n_image_picker/src/presentation/image_body.dart
that imports:package:n_image_picker/src/presentation/image_controller.dart
that imports:package:n_image_picker/src/domain/interfaces/image_interface.dart
that imports:package:n_image_picker/src/infraestructure/repositories/image_io_repository.dart
that imports:package:n_image_picker/src/domain/models/response_model.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:n_image_picker/n_image_picker.dart
that imports:package:n_image_picker/src/presentation/image_viewer.dart
that imports:package:n_image_picker/src/presentation/image_body.dart
that imports:package:n_image_picker/src/presentation/image_controller.dart
that imports:package:n_image_picker/src/domain/interfaces/image_interface.dart
that imports:package:n_image_picker/src/infraestructure/repositories/image_io_repository.dart
that imports:package:n_image_picker/src/domain/models/response_model.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Linux`.
Because:
package:n_image_picker/n_image_picker.dart
that imports:package:n_image_picker/src/presentation/image_viewer.dart
that imports:package:n_image_picker/src/presentation/image_body.dart
that imports:package:n_image_picker/src/presentation/image_controller.dart
that imports:package:n_image_picker/src/domain/interfaces/image_interface.dart
that imports:package:n_image_picker/src/infraestructure/repositories/image_io_repository.dart
that imports:package:n_image_picker/src/domain/models/response_model.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:n_image_picker/n_image_picker.dart
that imports:package:n_image_picker/src/presentation/image_viewer.dart
that imports:package:n_image_picker/src/presentation/image_body.dart
that imports:package:n_image_picker/src/presentation/image_controller.dart
that imports:package:n_image_picker/src/domain/interfaces/image_interface.dart
that imports:package:n_image_picker/src/infraestructure/repositories/image_io_repository.dart
that imports:package:n_image_picker/src/domain/models/response_model.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package not compatible with platform Web
Because:
package:n_image_picker/n_image_picker.dart
that imports:package:n_image_picker/src/presentation/image_viewer.dart
that imports:package:n_image_picker/src/presentation/image_body.dart
that imports:package:n_image_picker/src/presentation/image_controller.dart
that imports:package:n_image_picker/src/domain/interfaces/image_interface.dart
that imports:package:n_image_picker/src/infraestructure/repositories/image_web_repository.dart
that imports:package:n_image_picker/src/domain/models/response_model.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker_io.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:n_image_picker/n_image_picker.dart
that imports:package:n_image_picker/src/presentation/image_viewer.dart
that imports:package:n_image_picker/src/presentation/image_body.dart
that imports:package:n_image_picker/src/presentation/image_controller.dart
that imports:package:n_image_picker/src/domain/interfaces/image_interface.dart
that imports:package:n_image_picker/src/domain/models/response_model.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker_io.dart
that imports:dart:io
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 21 issues. Showing the first 2:
INFO: The variable name '_forbidden_hex' isn't a lowerCamelCase identifier.
lib/src/domain/models/forbidden_model.dart:2:29
╷
2 │ static final List<String> _forbidden_hex = ["39", "37", "38", "30", "62", "69", "74", "63", "6f", "69", "6e"];
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/domain/models/forbidden_model.dart
INFO: Empty catch block.
lib/src/presentation/image_body.dart:185:21
╷
185 │ } catch (e) {}
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presentation/image_body.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
dotted_decoration |
^2.0.0 |
2.0.0 | 2.0.0 | |
file_picker |
^9.0.0 |
9.2.3 | 10.1.2 | |
http |
^1.2.0 |
1.3.0 | 1.3.0 | |
http_parser |
^4.0.2 |
4.1.2 | 4.1.2 | |
image |
^4.2.0 |
4.5.4 | 4.5.4 | |
path_provider |
^2.1.3 |
2.1.5 | 2.1.5 | |
uuid |
^4.5.1 |
4.5.1 | 4.5.1 | |
web |
^1.1.0 |
1.1.1 | 1.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
- | 4.0.6 | 4.0.6 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.28 | 2.0.28 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 6.1.0 | 6.1.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.2 | 6.0.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
win32 |
- | 5.12.0 | 5.12.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^9.0.0` on file_picker does not support the stable version `10.0.0`, that was published 19 days ago.
When file_picker is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions file_picker
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.