nullableTextScaler property
TextScaler?
nullableTextScaler
Returns the TextScaler for the nearest MediaQuery ancestor or null if no such ancestor exists.
Implementation
TextScaler? get nullableTextScaler => MediaQuery.maybeTextScalerOf(this);