n_image_picker 4.0.0 copy "n_image_picker: ^4.0.0" to clipboard
n_image_picker: ^4.0.0 copied to clipboard

Configurable and easy-to-use cross-platform image selector.

150/ 160
pub points
389
downloads

We analyzed this package 4 days ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

43 out of 45 API elements (95.6 %) have documentation comments.

Some symbols that are missing documentation: n_image_picker_view, n_image_picker_view.ImageController.stream.

Passed check 10/10 points: Package has an example and has no issues with screenshots

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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_zone.dart that imports:
  • package:n_image_picker/src/application/use_cases/image_use_case.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_zone.dart that imports:
  • package:n_image_picker/src/application/use_cases/image_use_case.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_zone.dart that imports:
  • package:n_image_picker/src/application/use_cases/image_use_case.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_zone.dart that imports:
  • package:n_image_picker/src/application/use_cases/image_use_case.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 `Web`.

Because:

  • package:n_image_picker/n_image_picker.dart that imports:
  • package:n_image_picker/src/presentation/image_zone.dart that imports:
  • package:n_image_picker/src/application/use_cases/image_use_case.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/linux/file_picker_linux.dart that imports:
  • package:dbus/dbus.dart that declares support for platforms: Windows, Linux.

Failed check 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_zone.dart that imports:
  • package:n_image_picker/src/application/use_cases/image_use_case.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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 13 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/src/application/use_cases/image_use_case.dart:1:1

  ╷
1 │ /// This file defines the [ImageUseCase] class which handles image processing use cases such as validating URLs, creating data transfer objects (DTOs) from various sources, resizing images, and attaching drop zones for image controllers.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/application/use_cases/image_use_case.dart

INFO: Uses 'await' on an instance of 'DataDTO', which is not a subtype of 'Future'.

lib/src/application/use_cases/image_use_case.dart:109:14

    ╷
109 │       return await DataDTO(
    │              ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/application/use_cases/image_use_case.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
file_picker ^10.3.3 10.3.3 10.3.3
http ^1.5.0 1.5.0 1.5.0
image ^4.2.0 4.5.4 4.5.4
web ^1.1.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
dbus - 0.7.11 0.7.11
ffi - 2.1.4 2.1.4
flutter_plugin_android_lifecycle - 2.0.31 2.0.31
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
source_span - 1.10.1 1.10.1
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.2.0 2.2.0
win32 - 5.15.0 5.15.0
xml - 6.6.1 6.6.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
150
points
389
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

Configurable and easy-to-use cross-platform image selector.

Repository (GitHub)
View/report issues

Topics

#picker #image #preview #cross-platform

Documentation

API reference

License

MIT (license)

Dependencies

file_picker, flutter, http, image, web

More

Packages that depend on n_image_picker