withFontHeight method
Creates a WidgetSelector that finds all AnyText where fontHeight equals (==) value
.
Example usage:
spot<AnyText>().withFontHeight(10.5).existsOnce();
Implementation
@useResult
WidgetSelector<AnyText> withFontHeight(double? value) {
return withDiagnosticProp<double>(
'font_height', (it) => value == null ? it.isNull() : it.equals(value));
}