ExpandedButton constructor

ExpandedButton({
  1. Widget? child,
  2. double radius = 10,
  3. Alignment alignment = Alignment.center,
  4. int flex = 1,
  5. dynamic borderColor,
  6. dynamic color,
  7. bool isCircle = false,
  8. double borderWith = 1,
  9. EdgeInsetsGeometry padding = EdgeInsets.zero,
  10. required dynamic onPressed(),
})

Implementation

ExpandedButton(
    {this.child,
    this.radius = 10,
    this.alignment = Alignment.center,
    this.flex = 1,
    this.borderColor,
    this.color,
    this.isCircle = false,
    this.borderWith = 1,
    this.padding = EdgeInsets.zero,
    required this.onPressed});