MacosButtonStyle constructor

const MacosButtonStyle({
  1. ButtonSize buttonSize = macos.ButtonSize.large,
  2. AlignmentGeometry alignment = Alignment.center,
  3. Color? color,
  4. double pressedOpacity = 0.4,
  5. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8.0)),
  6. Color disabledColor = cup.CupertinoColors.quaternarySystemFill,
  7. bool isSecondary = false,
  8. MouseCursor mouseCursor = SystemMouseCursors.basic,
  9. EdgeInsetsGeometry? padding,
  10. 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});