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