TImageUploader constructor

const TImageUploader({
  1. Key? key,
  2. String? image,
  3. void onIconButtonPressed()?,
  4. Uint8List? memoryImage,
  5. double width = 100,
  6. double height = 100,
  7. required ImageType imageType,
  8. bool circular = false,
  9. IconData icon = Iconsax.edit_2,
  10. double? top,
  11. double? bottom = 0,
  12. double? right,
  13. double? left = 0,
  14. bool loading = false,
})

Implementation

const TImageUploader({
  super.key,
  this.image,
  this.onIconButtonPressed,
  this.memoryImage,
  this.width = 100,
  this.height = 100,
  required this.imageType,
  this.circular = false,
  this.icon = Iconsax.edit_2,
  this.top,
  this.bottom = 0,
  this.right,
  this.left = 0,
  this.loading = false,
});