CustomActionButton constructor

const CustomActionButton({
  1. Key? key,
  2. EdgeInsetsGeometry? margin,
  3. double? width,
  4. double? height,
  5. Color? backgroundColor,
  6. Color? borderColor,
  7. Color? foregroundColor,
  8. Color? splashColor,
  9. InteractiveInkFeatureFactory? splashFactory,
  10. double? elevation,
  11. void onPressed()?,
  12. double? borderRadius,
  13. EdgeInsetsGeometry? padding,
  14. BorderSide? side,
  15. ShapeBorder? shape,
  16. required Widget? child,
  17. 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
});