ConfigElevatedButton constructor
const
ConfigElevatedButton({
- Key? key,
- double? width,
- double? height,
- void onPressed()?,
- required String label,
- Color? bgcolour,
- Color? textcolour,
- BorderRadiusGeometry? radius,
- EdgeInsetsGeometry? padding,
- double? elevation,
- bool isLoading = false,
- bool enabled = true,
- IconData? prefixIcon,
- IconData? suffixIcon,
- double? iconSize,
- FontWeight? fontWeight,
- double? fontSize,
- BorderSide? side,
- bool enableDebounce = true,
- Duration debounceDuration = const Duration(milliseconds: 300),
- String? semanticLabel,
- bool? enableSecurity,
Implementation
const ConfigElevatedButton({
super.key,
this.width,
this.height,
this.onPressed,
required this.label,
this.bgcolour,
this.textcolour,
this.radius,
this.padding,
this.elevation,
this.isLoading = false,
this.enabled = true,
this.prefixIcon,
this.suffixIcon,
this.iconSize,
this.fontWeight,
this.fontSize,
this.side,
this.enableDebounce = true,
this.debounceDuration = const Duration(milliseconds: 300),
this.semanticLabel,
this.enableSecurity,
});