CustomButton constructor
const
CustomButton({
- Key? key,
- required VoidCallback onPressed,
- required Widget child,
- Color? borderColor,
- Color? backgroundColor,
- double? borderWidth,
- double? borderRadius,
- double? width,
- double? height,
- EdgeInsets? padding,
- EdgeInsets? margin,
- TextStyle? textStyle,
Implementation
const CustomButton({
super.key,
required this.onPressed,
required this.child,
this.borderColor,
this.backgroundColor,
this.borderWidth,
this.borderRadius,
this.width,
this.height,
this.padding,
this.margin,
this.textStyle,
});