PictureUploadSettings class
Constructors
- PictureUploadSettings({String uploadDirectory = '/Uploads/', ImageSourceExtended imageSource = ImageSourceExtended.gallery, Function? customUploadFunction, Function? customDeleteFunction, Function? onErrorFunction, int minImageCount = 0, int maxImageCount = 5, ImageManipulationSettings imageManipulationSettings = const ImageManipulationSettings()})
- Basic settings for PictureUploadWidget
Properties
- customDeleteFunction → Function?
-
The function which shall be called to delete the image, if you don't want to use the default one
final
- customUploadFunction → Function?
-
The function which shall be called to upload the image, if you don't want to use the default one
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageManipulationSettings → ImageManipulationSettings
-
The settings how the image shall be modified before upload
final
- imageSource → ImageSourceExtended
-
Defines which image source shall be used if user clicks button (options: ask_user, gallery, camera)
final
- maxImageCount → int
-
The maximum images which can be uploaded
final
- minImageCount → int
-
The minimum images which shall be uploaded (controls the delete button)
final
- onErrorFunction → Function?
-
The function which shall be called if an error occurs
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uploadDirectory → String
-
The directory where you want to upload to
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