CircleImageActions constructor
const
CircleImageActions({
- Key? key,
- ImageProvider<
Object> ? image, - ImageProvider<
Object> ? defaultImage, - VoidCallback? onPressed,
- required double width,
- Color? backgroundColor,
- bool isEnabled = true,
- VoidCallback? onCancel,
- 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
});