SingleImageView constructor
SingleImageView({
- Key? key,
- double imageWidth = 110,
- double imageHeight = 110,
- required String dirId,
- required String dirName,
- required bool isFixedDir,
- ImageShape shape = ImageShape.None,
- IPFSFileType fileType = IPFSFileType.image,
- Widget? addImageWidget,
- ValueChanged<
UploadResultEntity> ? singleCallback, - bool isAllowCloud = true,
- bool isCanEdit = true,
- String placeholder = '',
- UploadResultEntity? imageEntity,
Implementation
SingleImageView(
{Key? key,
this.imageWidth = 110,
this.imageHeight = 110,
required this.dirId,
required this.dirName,
required this.isFixedDir,
this.shape = ImageShape.None,
this.fileType = IPFSFileType.image,
this.addImageWidget,
this.singleCallback,
this.isAllowCloud = true,
this.isCanEdit = true,
this.placeholder = '',
this.imageEntity})
: super(key: key);