SizedButton constructor

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

Implementation

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