IOSButton constructor

const IOSButton({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsetsGeometry padding = const EdgeInsets.all(0),
  4. Color? color,
  5. Color? disabledColor,
  6. double? minSize,
  7. double pressedOpacity = 0.5,
  8. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8.0)),
  9. 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);