BaseButton constructor
BaseButton({
- Key? key,
- EdgeInsetsGeometry? padding,
- double? minSize,
- Color? color,
- Color disabledColor = CupertinoColors.quaternarySystemFill,
- double? pressedOpacity = 0.4,
- BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(8.0)),
- required Widget child,
- 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});