CustomActionButton constructor

const CustomActionButton({
  1. Key? key,
  2. required Widget child,
  3. ButtonType? buttonType,
  4. VoidCallback? onPressed,
  5. VoidCallback? onLongPress,
  6. Color? backgroundColor,
  7. Color? foregroundColor,
  8. Color? shadowColor,
  9. Color? splashColor,
  10. Color? disabledBackgroundColor,
  11. Color? disabledBorderColor,
  12. Color? borderColor,
  13. double? elevation,
  14. double? borderRadius,
  15. double? width,
  16. double? height,
  17. OutlinedBorder? shape,
  18. EdgeInsetsGeometry? padding,
  19. EdgeInsetsGeometry? margin,
  20. InteractiveInkFeatureFactory? splashFactory,
})

Creates a CustomActionButton with the given parameters.

Implementation

const CustomActionButton({
  super.key,
  required this.child,
  this.buttonType,
  this.onPressed,
  this.onLongPress,
  this.backgroundColor,
  this.foregroundColor,
  this.shadowColor,
  this.splashColor,
  this.disabledBackgroundColor,
  this.disabledBorderColor,
  this.borderColor,
  this.elevation,
  this.borderRadius,
  this.width,
  this.height,
  this.shape,
  this.padding,
  this.margin,
  this.splashFactory,
});