CupertinoThumbPainter.switchThumb constructor Null safety
Creates an object that paints an iOS-style switch thumb.
Implementation
const CupertinoThumbPainter.switchThumb({
Color color = CupertinoColors.white,
List<BoxShadow> shadows = _kSwitchBoxShadows,
}) : this(color: color, shadows: shadows);