The thumb's corner radius: null is round; a square switch sets a small one. With it the switch is a plain toggle.
static const thumbRadius = PropDef<double?>('thumbRadius', Codecs.optionalPositive, null);