nullableOnOffSwitchLabels property
bool?
nullableOnOffSwitchLabels
Returns whether to show on/off labels inside switches for the nearest MediaQuery ancestor or null if no such ancestor exists.
Implementation
bool? get nullableOnOffSwitchLabels =>
MediaQuery.maybeOnOffSwitchLabelsOf(this);