PlatformButton constructor
const
PlatformButton({
- Key? key,
- required VoidCallback onPressed,
- required Widget child,
- Color? color,
- Color? disabledColor,
- double? borderRadius,
- EdgeInsetsGeometry? padding,
- Color? textColor,
- double? minSize,
- double? pressedOpacity,
- MaterialTapTargetSize? materialTapTargetSize,
- ButtonStyle? style,
Implementation
const PlatformButton({
super.key,
required this.onPressed,
required this.child,
this.color,
this.disabledColor,
this.borderRadius,
this.padding,
this.textColor,
this.minSize,
this.pressedOpacity,
this.materialTapTargetSize,
this.style,
});