ImageUploadView constructor
ImageUploadView({
- Key? key,
- double imageWidth = 110,
- double imageHeight = 110,
- required List<
UploadResultEntity> images, - required String dirId,
- required String dirName,
- bool isFixedDir = false,
- UploadMode uploadMode = UploadMode.MULTIPLE,
- IPFSFileType fileType = IPFSFileType.image,
- ValueChanged<
List< ? valueChangedCallback,UploadResultEntity> > - Widget? addImageWidget,
- bool isAllowCloud = true,
- int itemCount = 3,
- bool isCanEdit = true,
- String placeholder = '',
- int maxCount = -1,
- UploadBtnPosition btnPosition = UploadBtnPosition.RIGHT,
- ImageShape shape = ImageShape.None,
Implementation
ImageUploadView(
{Key? key,
this.imageWidth = 110,
this.imageHeight = 110,
required this.images,
required this.dirId,
required this.dirName,
this.isFixedDir = false,
this.uploadMode = UploadMode.MULTIPLE,
this.fileType = IPFSFileType.image,
this.valueChangedCallback,
this.addImageWidget,
this.isAllowCloud = true,
this.itemCount = 3,
this.isCanEdit = true,
this.placeholder = '',
this.maxCount = -1,
this.btnPosition = UploadBtnPosition.RIGHT,
this.shape = ImageShape.None})
: super(key: key);