UserUpdateAvatar constructor

const UserUpdateAvatar({
  1. Key? key,
  2. double size = 140,
  3. double radius = 60,
  4. int? badgeNumber,
  5. bool delete = false,
  6. void onUploadSuccess()?,
  7. double uploadStrokeWidth = 6,
  8. double shadowBlurRadius = 16.0,
  9. Color? backgroundColor,
  10. Color? borderColor,
  11. double borderWidth = 0,
  12. Widget progressBuilder(
    1. double? progress
    )?,
})

Implementation

const UserUpdateAvatar({
  super.key,
  this.size = 140,
  this.radius = 60,
  this.badgeNumber,
  this.delete = false,
  this.onUploadSuccess,
  this.uploadStrokeWidth = 6,
  this.shadowBlurRadius = 16.0,
  this.backgroundColor,
  this.borderColor,
  this.borderWidth = 0,
  this.progressBuilder,
});