LuckyTextButton constructor

const LuckyTextButton({
  1. Key? key,
  2. required String text,
  3. Color? color,
  4. FontWeight fontWeight = semiBoldFontWeight,
  5. TextAlign textAlign = TextAlign.start,
  6. EdgeInsetsGeometry? padding,
  7. 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,
});