LuckyTextButton constructor
const
LuckyTextButton({
- Key? key,
- required String text,
- Color? color,
- FontWeight fontWeight = semiBoldFontWeight,
- TextAlign textAlign = TextAlign.start,
- EdgeInsetsGeometry? padding,
- required VoidCallback onTap,
Creates a new LuckyTextButton widget.
Implementation
const LuckyTextButton({
super.key,
required this.text,
this.color,
this.fontWeight = semiBoldFontWeight,
this.textAlign = TextAlign.start,
this.padding,
required this.onTap,
});