MacosSwitchKnobPainter constructor
const
MacosSwitchKnobPainter({
- required MacosColor color,
Creates an object that paints a macOS-style switch knob.
Implementation
const MacosSwitchKnobPainter({required this.color});