cupertinoBtn method
CupertinoButton
cupertinoBtn({
- Key? key,
- EdgeInsetsGeometry? padding,
- Color? color,
- Color disabledColor = CupertinoColors.quaternarySystemFill,
- double minSize = kMinInteractiveDimensionCupertino,
- double? pressedOpacity = 0.4,
- BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(8.0)),
- Alignment alignment = Alignment.center,
- VoidCallback? onPressed,
see CupertinoButton
Implementation
CupertinoButton cupertinoBtn({
Key? key,
EdgeInsetsGeometry? padding,
Color? color,
Color disabledColor = CupertinoColors.quaternarySystemFill,
double minSize = kMinInteractiveDimensionCupertino,
double? pressedOpacity = 0.4,
BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(8.0)),
Alignment alignment = Alignment.center,
VoidCallback? onPressed,
}) =>
CupertinoButton(
key: key,
onPressed: onPressed,
padding: padding,
color: color,
disabledColor: disabledColor,
minSize: minSize,
pressedOpacity: pressedOpacity,
borderRadius: borderRadius,
alignment: alignment,
child: this);