PatientButton constructor
const
PatientButton({
- required String text,
- required Color backgroundColor,
- required VoidCallback? handleTap,
- bool isHollow = false,
- double? height,
- double? width,
- double fontSize = ConfigConstants.fontCheckoutButton,
- Color textColor = ConfigConstants.white,
- Color? backgroundColorHollow,
- Color? borderColor,
- Color? backgroundColorDisabled,
- Color? textColorDisabled,
- FontWeight fontWeight = FontWeight.bold,
- AlignmentGeometry? textAlignment,
- EdgeInsets? padding,
- Key? key,
Implementation
const PatientButton({
required this.text,
required this.backgroundColor,
required this.handleTap,
this.isHollow = false,
this.height,
this.width,
this.fontSize = ConfigConstants.fontCheckoutButton,
this.textColor = ConfigConstants.white,
this.backgroundColorHollow,
this.borderColor,
this.backgroundColorDisabled,
this.textColorDisabled,
this.fontWeight = FontWeight.bold,
this.textAlignment,
this.padding,
super.key,
});