CustomActionButton.minimal constructor
CustomActionButton.minimal({
- required VoidCallback? onPressed,
- required Widget child,
- Color? foregroundColor,
- Color? disabledForegroundColor,
- Color? borderColor,
- double? width,
- double? height,
- OutlinedBorder? shape,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
Creates a minimal button.
The onPressed
and child
parameters are required.
Implementation
factory CustomActionButton.minimal({
required VoidCallback? onPressed,
required Widget child,
Color? foregroundColor,
Color? disabledForegroundColor,
Color? borderColor,
double? width,
double? height,
OutlinedBorder? shape,
EdgeInsetsGeometry? padding,
EdgeInsetsGeometry? margin,
}) {
return CustomActionButton(
buttonType: ButtonType.minimal,
onPressed: onPressed,
foregroundColor: foregroundColor,
disabledBorderColor: disabledForegroundColor,
borderColor: borderColor,
width: width,
height: height,
shape: shape,
padding: padding,
margin: margin,
child: child,
);
}