hasTitleAlignmentWhere method

WidgetMatcher<ListTile> hasTitleAlignmentWhere(
  1. MatchProp<ListTileTitleAlignment> match
)

Expects that titleAlignment of ListTile matches the condition in match.

Example usage:

spot<ListTile>().existsOnce().hasTitleAlignmentWhere((it) => it.equals(ListTileTitleAlignment.values.first));

Implementation

WidgetMatcher<ListTile> hasTitleAlignmentWhere(
    MatchProp<ListTileTitleAlignment> match) {
  return hasDiagnosticProp<ListTileTitleAlignment>('titleAlignment', match);
}