ExpandedTextButton constructor

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

Implementation

ExpandedTextButton(this.text,
    {this.style,
    this.alignment = Alignment.centerLeft,
    this.flex = 1,
    this.onPressed}) {
  style ??= Get.find<AppFonts>().M();
}