hasTextScaleFactor method
Expects that textScaleFactor of Text equals (==) value
.
Example usage:
spot<Text>().existsOnce().hasTextScaleFactor(10.5);
Implementation
WidgetMatcher<Text> hasTextScaleFactor(double? value) {
return hasDiagnosticProp<double>('textScaleFactor',
(it) => value == null ? it.isNull() : it.equals(value));
}