thumbShadows constant
Drop shadows the thumb casts on a filled track (fillTrack). Material's switch has none, so a switch with one is drawn as a plain toggle (see thumbInset).
Implementation
static const thumbShadows = PropDef<List<Effect>>('thumbShadows', Codecs.effects, []);