BoxImageActions constructor
const
BoxImageActions({
- Key? key,
- ImageProvider<
Object> ? image, - ImageProvider<
Object> ? defaultImage, - VoidCallback? onPressed,
- required double width,
- Color? backgroundColor,
- bool isEnabled = true,
- VoidCallback? onCancel,
- double cancelButtonSize = 20.0,
- double borderRadius = 15.0,
Implementation
const BoxImageActions({
super.key,
this.image,
this.defaultImage,
this.onPressed,
required this.width,
this.backgroundColor,
this.isEnabled = true,
this.onCancel,
this.cancelButtonSize = 20.0,
this.borderRadius = 15.0, // Add borderRadius property
});