IOSButton constructor
const
IOSButton({
- Key? key,
- required Widget child,
- EdgeInsetsGeometry padding = const EdgeInsets.all(0),
- Color? color,
- Color? disabledColor,
- double? minSize,
- double pressedOpacity = 0.5,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8.0)),
- required VoidCallback? onPressed,
Implementation
const IOSButton({
Key? key,
required this.child,
this.padding = const EdgeInsets.all(0),
this.color,
this.disabledColor,
this.minSize,
this.pressedOpacity = 0.5,
this.borderRadius = const BorderRadius.all(Radius.circular(8.0)),
required this.onPressed,
}) : super(key: key);