hasTextScaleFactorWhere method
Expects that textScaleFactor of Text matches the condition in match
.
Example usage:
spot<Text>().existsOnce().hasTextScaleFactorWhere((it) => it.isGreaterThan(10.5));
Implementation
WidgetMatcher<Text> hasTextScaleFactorWhere(MatchProp<double> match) {
return hasDiagnosticProp<double>('textScaleFactor', match);
}