onOffSwitchLabels property

bool onOffSwitchLabels

Returns whether to show on/off labels inside switches for the nearest MediaQuery ancestor or throws an exception if no such ancestor exists.

Implementation

bool get onOffSwitchLabels => MediaQuery.onOffSwitchLabelsOf(this);