CupertinoButton constructor
Creates an iOS-style button.
Implementation
const CupertinoButton({
@required this.child,
this.padding,
this.color,
this.disabledColor,
this.minSize = 44.0,
this.pressedOpacity = 0.1,
this.borderRadius = const BorderRadius.all(Radius.circular(8.0)),
@required this.onPressed,
}) : assert(pressedOpacity == null || (pressedOpacity >= 0.0 && pressedOpacity <= 1.0));