hasTextBaselineWhere method

WidgetMatcher<Row> hasTextBaselineWhere(
  1. MatchProp<TextBaseline> match
)

Expects that textBaseline of Row matches the condition in match.

Example usage:

spot<Row>().existsOnce().hasTextBaselineWhere((it) => it.equals(TextBaseline.values.first));

Implementation

WidgetMatcher<Row> hasTextBaselineWhere(MatchProp<TextBaseline> match) {
  return hasDiagnosticProp<TextBaseline>('textBaseline', match);
}