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. LinearGradient? linearGradient,
  8. bool isCircle = false,
  9. List<BoxShadow>? boxShadow,
  10. required double? width,
  11. required double? height,
  12. double borderWith = 1,
  13. EdgeInsetsGeometry padding = EdgeInsets.zero,
  14. EdgeInsetsGeometry innerPadding = EdgeInsets.zero,
  15. required dynamic onPressed(),
})

Implementation

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