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