whereTextHeightBehavior method
Creates a WidgetSelector that finds all EditableText where textHeightBehavior matches the condition.
Example usage:
spot<EditableText>().whereTextHeightBehavior((it) => it.equals(TextHeightBehavior(applyHeightToFirstAscent: true, applyHeightToLastDescent: false))).existsOnce();
Implementation
@useResult
WidgetSelector<EditableText> whereTextHeightBehavior(
MatchProp<TextHeightBehavior> match) {
return withDiagnosticProp<TextHeightBehavior>('textHeightBehavior', match);
}