MacosDisclosureButton constructor
const
MacosDisclosureButton({
- Key? key,
- Color? fillColor,
- String? semanticLabel,
- bool isPressed = false,
- MouseCursor? mouseCursor = SystemMouseCursors.basic,
- 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,
});