CustomActionButton constructor
const
CustomActionButton({
- Key? key,
- required Widget child,
- ButtonType? buttonType,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- Color? backgroundColor,
- Color? foregroundColor,
- Color? shadowColor,
- Color? splashColor,
- Color? disabledBackgroundColor,
- Color? disabledBorderColor,
- Color? borderColor,
- double? elevation,
- double? borderRadius,
- double? width,
- double? height,
- OutlinedBorder? shape,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- 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,
});