size property
The size of the switch, which is ControlSize.regular by default.
Allowable sizes are ControlSize.mini, ControlSize.small, and ControlSize.regular. If ControlSize.large is used, the switch will size itself as a ControlSize.regular switch.
Implementation
final ControlSize size;