MacosButtonStyle constructor
const
MacosButtonStyle({
- ButtonSize buttonSize = macos.ButtonSize.large,
- AlignmentGeometry alignment = Alignment.center,
- Color? color,
- double pressedOpacity = 0.4,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8.0)),
- Color disabledColor = cup.CupertinoColors.quaternarySystemFill,
- bool isSecondary = false,
- MouseCursor mouseCursor = SystemMouseCursors.basic,
- EdgeInsetsGeometry? padding,
- String? semanticLabel,
Implementation
const MacosButtonStyle(
{this.buttonSize = macos.ButtonSize.large,
super.alignment,
this.color,
super.pressedOpacity,
super.borderRadius,
super.disabledColor,
this.isSecondary = false,
this.mouseCursor = SystemMouseCursors.basic,
this.padding,
this.semanticLabel});