CircleImageActions constructor

const CircleImageActions({
  1. Key? key,
  2. ImageProvider<Object>? image,
  3. ImageProvider<Object>? defaultImage,
  4. VoidCallback? onPressed,
  5. required double width,
  6. Color? backgroundColor,
  7. bool isEnabled = true,
  8. VoidCallback? onCancel,
  9. double cancelButtonSize = 20.0,
})

Implementation

const CircleImageActions({
  super.key,
  this.image,
  this.defaultImage,
  this.onPressed,
  required this.width,
  this.backgroundColor,
  this.isEnabled = true,
  this.onCancel,  // Callback for the cancel button
  this.cancelButtonSize = 20.0, // Size of the cancel button
});