UploadImageView<T> constructor
UploadImageView<T> ({
- Key? key,
- required String cameraReason,
- required String photoReason,
- required double width,
- required double height,
- required dynamic callbackImage(),
- required int maxlength,
- dynamic callBackDeleteImage(
- List<
T> deleteList
- List<
- String getImageUrl(
- T item
- double? spacing,
- double? runSpacing,
- EdgeInsets? margin,
- EdgeInsets? padding,
- List<
T> ? imageList, - List<
T> ? deleteImageList,
Implementation
UploadImageView({
super.key,
required this.cameraReason,
required this.photoReason,
required this.width,
required this.height,
required this.callbackImage,
required this.maxlength,
this.callBackDeleteImage,
this.getImageUrl,
this.spacing,
this.runSpacing,
this.margin,
this.padding,
List<T>? imageList,
List<T>? deleteImageList,
}) : imageList = imageList ?? [],
deleteImageList = deleteImageList ?? [];