AdwThumbPainter.switchThumb constructor

const AdwThumbPainter.switchThumb({
  1. Color color = Colors.white,
  2. List<BoxShadow> shadows = _kSwitchBoxShadows,
})

Creates an object that paints a gtk-style switch thumb.

Implementation

const AdwThumbPainter.switchThumb({
  Color color = Colors.white,
  List<BoxShadow> shadows = _kSwitchBoxShadows,
}) : this(color: color, shadows: shadows);