hasTitleAlignmentWhere method
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);
}