AiutaImagePickerFeature class
Configuration for the image picker feature (currently main screen). This feature allows users to select images from the camera, photo gallery, predefined models, and view their upload history.
- Annotations
-
- @JsonSerializable()
Constructors
- AiutaImagePickerFeature.new({AiutaImagePickerCameraFeature? camera, required AiutaImagePickerPhotoGalleryFeature photoGallery, AiutaImagePickerPredefinedModelFeature? predefinedModels, AiutaImagePickerUploadsHistoryFeature? uploadsHistory, required AiutaImagePickerImages images, required AiutaImagePickerStrings strings})
-
Creates an AiutaImagePickerFeature with the optional
camera
to allow users to take new pictures, a requiredphotoGallery
to select images from the device's gallery, an optionalpredefinedModels
to select predefined models, an optionaluploadsHistory
to select one of the previously used images, and requiredimages
andstrings
configuration. - AiutaImagePickerFeature.builtIn()
-
Creates a built-in image picker feature configuration with default settings.
factory
-
AiutaImagePickerFeature.fromJson(Map<
String, dynamic> json) -
factory
Properties
- camera → AiutaImagePickerCameraFeature?
-
Camera feature configuration (optional).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- images → AiutaImagePickerImages
-
Images used in the image picker feature.
final
- photoGallery → AiutaImagePickerPhotoGalleryFeature
-
Photo gallery feature configuration.
final
- predefinedModels → AiutaImagePickerPredefinedModelFeature?
-
Predefined models feature configuration (optional).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strings → AiutaImagePickerStrings
-
Strings used in the image picker feature.
final
- uploadsHistory → AiutaImagePickerUploadsHistoryFeature?
-
Uploads history feature configuration (optional).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited