MacosSwitchKnobPainter constructor

const MacosSwitchKnobPainter({
  1. required MacosColor color,
})

Creates an object that paints a macOS-style switch knob.

Implementation

const MacosSwitchKnobPainter({required this.color});