borderRadius property
Border radius applied to the switch track corners.
Creates rounded corners on the switch track container. When null, uses a fully rounded appearance typical of toggle switches.
Implementation
final BorderRadiusGeometry? borderRadius;