SingleImage constructor

const SingleImage(
  1. String? defaultImageUrl,
  2. bool enabled, {
  3. Key? key,
  4. Function? saveHandler,
  5. Future<String?> uploadHandler(
    1. MultipartFile file
    )?,
  6. double avatarWidth = 80,
  7. double avatarHeight = 80,
  8. Color preivewBgColor = Colors.black,
})

Implementation

const SingleImage(this.defaultImageUrl, this.enabled,
    {super.key,
    this.saveHandler,
    this.uploadHandler,
    this.avatarWidth = 80,
    this.avatarHeight = 80,
    this.preivewBgColor = Colors.black});