ReadyElevatedButton.large constructor

const ReadyElevatedButton.large({
  1. Key? key,
  2. required String text,
  3. VoidCallback? onPress,
  4. Color? textColor,
  5. Color? backgroundColor,
  6. Color? borderColor,
  7. IconData? icon,
  8. double fontSize = 20,
  9. FontWeight fontWeight = FontWeight.w500,
  10. double? width,
  11. bool isDisabled = false,
  12. double borderRadius = 12,
  13. IconPosition iconPosition = IconPosition.leading,
  14. bool expanded = false,
  15. Alignment alignment = Alignment.center,
  16. 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,
});