CupertinoThumbPainter constructor Null safety
Creates an object that paints an iOS-style slider thumb.
Implementation
const CupertinoThumbPainter({
this.color = CupertinoColors.white,
this.shadows = _kSliderBoxShadows,
}) : assert(shadows != null);