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