MacosDisclosureButton constructor

const MacosDisclosureButton({
  1. Key? key,
  2. Color? fillColor,
  3. String? semanticLabel,
  4. bool isPressed = false,
  5. MouseCursor? mouseCursor = SystemMouseCursors.basic,
  6. VoidCallback? onPressed,
})

Creates a DisclosureButton with the appropriate icon/background colors based on light/dark themes.

Implementation

const MacosDisclosureButton({
  super.key,
  this.fillColor,
  this.semanticLabel,
  this.isPressed = false,
  this.mouseCursor = SystemMouseCursors.basic,
  this.onPressed,
});