hasLeadingAndTrailingTextStyleWhere method
Expects that leadingAndTrailingTextStyle of ListTile matches the condition in match
.
Example usage:
spot<ListTile>().existsOnce().hasLeadingAndTrailingTextStyleWhere((it) => it.equals(TextStyle()));
Implementation
WidgetMatcher<ListTile> hasLeadingAndTrailingTextStyleWhere(
MatchProp<TextStyle> match) {
return hasDiagnosticProp<TextStyle>('leadingAndTrailingTextStyle', match);
}