cancel static method
Implementation
static Widget cancel({
required VoidCallback? onPressed,
double? width,
}) {
return CustomActionButton(
text: 'Cancel',
onPressed: onPressed,
underlinedChar: 'C',
icon: Icons.cancel,
borderColor: Colors.orange,
textColor: Colors.orange,
width: width,
);
}