ReadyElevatedButton.large constructor
const
ReadyElevatedButton.large({
- Key? key,
- required String text,
- VoidCallback? onPress,
- Color? textColor,
- Color? backgroundColor,
- Color? borderColor,
- IconData? icon,
- double fontSize = 20,
- FontWeight fontWeight = FontWeight.w500,
- double? width,
- bool isDisabled = false,
- double borderRadius = 12,
- IconPosition iconPosition = IconPosition.leading,
- bool expanded = false,
- Alignment alignment = Alignment.center,
- EdgeInsets? padding,
Large-sized button
Implementation
const ReadyElevatedButton.large({
super.key,
required this.text,
this.onPress,
this.textColor,
this.backgroundColor,
this.borderColor,
this.icon,
this.fontSize = 20,
this.fontWeight = FontWeight.w500,
this.width,
this.isDisabled = false,
this.borderRadius = 12,
this.iconPosition = IconPosition.leading,
this.expanded = false,
this.alignment = Alignment.center,
this.padding,
});