CustomActionButton.minimal constructor

CustomActionButton.minimal({
  1. required void onPressed()?,
  2. required Widget child,
  3. double? width,
  4. double? height,
  5. EdgeInsetsGeometry? margin,
})

Implementation

factory CustomActionButton.minimal({
  required void Function()? onPressed,
  required Widget child,
  double? width,
  double? height,
  EdgeInsetsGeometry? margin,
}) {
  return CustomActionButton(
    onPressed: onPressed,
    backgroundColor: Colors.transparent,
    borderColor: Colors.transparent,
    width: width,
    height: height,
    margin: margin,
    child: child,
  );
}