MultiImagePickerOptions.createAndValidate constructor
MultiImagePickerOptions.createAndValidate({
- ImageOptions imageOptions = const ImageOptions(),
- int? limit,
Creates an instance with the given imageOptions and limit.
Throws if limit is lower than 2.
Implementation
MultiImagePickerOptions.createAndValidate({
this.imageOptions = const ImageOptions(),
this.limit,
}) {
_validate(limit: limit);
}