CustomActionButton constructor
const
CustomActionButton({
- Key? key,
- EdgeInsetsGeometry? margin,
- double? width,
- double? height,
- Color? backgroundColor,
- Color? borderColor,
- Color? foregroundColor,
- Color? splashColor,
- InteractiveInkFeatureFactory? splashFactory,
- double? elevation,
- void onPressed()?,
- double? borderRadius,
- EdgeInsetsGeometry? padding,
- BorderSide? side,
- ShapeBorder? shape,
- required Widget? child,
- double? size,
Implementation
const CustomActionButton({
super.key,
this.margin,
this.width,
this.height,
this.backgroundColor,
this.borderColor,
this.foregroundColor,
this.splashColor,
this.splashFactory,
this.elevation,
this.onPressed,
this.borderRadius,
this.padding,
this.side,
this.shape,
required this.child,
this.size, // for circular button
});