ImageSelectFeatureConfig class

Optional add-ons for ImageSelect. Pass only what you need; null means that feature is off (no crop step, no video helpers, default gallery multi-pick).

Native setup is still required for each plugin you enable (e.g. image_cropper Android manifest / iOS plist entries — see each package’s readme).

Constructors

ImageSelectFeatureConfig({CropFeatureConfig? crop, VideoFeatureConfig? video, WebFilePickerFeatureConfig? webFilePicker})
const

Properties

crop CropFeatureConfig?
Non-null + CropFeatureConfig.enabled → run ImageCropper after a single pickImage.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
video VideoFeatureConfig?
Non-null + VideoFeatureConfig.enabledpickVideo / pickVideoFromGallery work.
final
webFilePicker WebFilePickerFeatureConfig?
Non-null + WebFilePickerFeatureConfig.enabled → multi-pick can use file_picker (better on web/desktop; see WebFilePickerFeatureConfig).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited