ExpandedTextButton constructor

ExpandedTextButton(
  1. String text, {
  2. Key? key,
  3. TextStyle? style,
  4. Alignment alignment = Alignment.centerLeft,
  5. int flex = 1,
  6. required dynamic onPressed(),
})

Implementation

ExpandedTextButton(this.text,
    {super.key,
    TextStyle? style,
    this.alignment = Alignment.centerLeft,
    this.flex = 1,
    required this.onPressed})
    : style = style ?? Get.find<AppFonts>().S();