CustomElevatedButton constructor
const
CustomElevatedButton({
- Key? key,
- required String text,
- required VoidCallback onPressed,
- Color? backgroundColor,
- Color? overlayColor,
- TextStyle? textStyle,
- Color? textColor,
- FontWeight? textFontWeight,
- double? fontSize,
- double? borderRadius,
- EdgeInsetsGeometry? padding,
- Widget? leadingIcon,
- Widget? trailingIcon,
- MainAxisSize? mainAxisSize,
- double? elevation,
- BorderSide? borderSide,
- Size? minimumSize,
- Size? fixedSize,
- Size? maximumSize,
Implementation
const CustomElevatedButton({
super.key,
required this.text,
required this.onPressed,
this.backgroundColor,
this.overlayColor,
this.textStyle,
this.textColor,
this.textFontWeight,
this.fontSize,
this.borderRadius,
this.padding,
this.leadingIcon,
this.trailingIcon,
this.mainAxisSize,
this.elevation,
this.borderSide,
this.minimumSize,
this.fixedSize,
this.maximumSize,
});