SingleImageView constructor

SingleImageView({
  1. Key? key,
  2. double imageWidth = 110,
  3. double imageHeight = 110,
  4. required String dirId,
  5. required String dirName,
  6. required bool isFixedDir,
  7. ImageShape shape = ImageShape.None,
  8. IPFSFileType fileType = IPFSFileType.image,
  9. Widget? addImageWidget,
  10. ValueChanged<UploadResultEntity>? singleCallback,
  11. bool isAllowCloud = true,
  12. bool isCanEdit = true,
  13. String placeholder = '',
  14. 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);