ExpandedButton constructor

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

Implementation

const ExpandedButton(
    {super.key,
    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});