SizedButton constructor

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

Implementation

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