BaseButton constructor

BaseButton({
  1. Key? key,
  2. EdgeInsetsGeometry? padding,
  3. double? minSize,
  4. Color? color,
  5. Color disabledColor = CupertinoColors.quaternarySystemFill,
  6. double? pressedOpacity = 0.4,
  7. BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(8.0)),
  8. required Widget child,
  9. VoidCallback? onPressed,
})

Implementation

BaseButton(
    {super.key,
    this.padding,
    this.minSize,
    this.color,
    this.disabledColor = CupertinoColors.quaternarySystemFill,
    this.pressedOpacity = 0.4,
    this.borderRadius = const BorderRadius.all(Radius.circular(8.0)),
    required this.child,
    this.onPressed});