CustomElevatedButton constructor
const
CustomElevatedButton({
- Key? key,
- BoxDecoration? decoration,
- Widget? leftIcon,
- Widget? rightIcon,
- EdgeInsets? margin,
- VoidCallback? onTap,
- ButtonStyle? buttonStyle,
- Alignment? alignment,
- TextStyle? buttonTextStyle,
- bool? isDisabled,
- double? height,
- double? width,
- required String text,
Implementation
const CustomElevatedButton({
Key? key,
this.decoration,
this.leftIcon,
this.rightIcon,
EdgeInsets? margin,
VoidCallback? onTap,
ButtonStyle? buttonStyle,
Alignment? alignment,
TextStyle? buttonTextStyle,
bool? isDisabled,
double? height,
double? width,
required String text,
}) : super(
key: key,
text: text,
onTap: onTap,
buttonStyle: buttonStyle,
isDisabled: isDisabled,
buttonTextStyle: buttonTextStyle,
height: height,
width: width,
alignment: alignment,
margin: margin,
);