onOffSwitchLabels property Null safety

bool onOffSwitchLabels

The platform is requesting to show on/off labels inside switches.

Only supported on iOS.

Implementation

bool get onOffSwitchLabels => _kOnOffSwitchLabelsIndex & _index != 0;