trackOutlineWidth property
The outline width of the switch track, resolved per WidgetState.
On Material switches, this controls the track border width. Defaults to 2.0 when unselected and 0.0 when selected. On Cupertino switches, this property has no visible effect.
Implementation
final WidgetStateProperty<double?>? trackOutlineWidth;