LeanTextButton constructor
LeanTextButton({
- Color? textColor,
- double? fontSize,
- Key? key,
- required VoidCallback onPressed,
- required String buttonText,
- ButtonStyle? overrideButtonStyle,
- Color? backgroundColor,
Implementation
LeanTextButton({this.textColor, this.fontSize,
super.key,
required super.onPressed,
required this.buttonText,
super.overrideButtonStyle,
super.backgroundColor})
: super(
child: LeanText(
buttonText,
fontSize: fontSize ?? AppThemeAccess.theme.defaultFontSize,
color: textColor ?? AppThemeAccess.theme.onPrimary,
));