hasTitleTextStyleWhere method

WidgetMatcher<ListTile> hasTitleTextStyleWhere(
  1. MatchProp<TextStyle> match
)

Expects that titleTextStyle of ListTile matches the condition in match.

Example usage:

spot<ListTile>().existsOnce().hasTitleTextStyleWhere((it) => it.equals(TextStyle()));

Implementation

WidgetMatcher<ListTile> hasTitleTextStyleWhere(MatchProp<TextStyle> match) {
  return hasDiagnosticProp<TextStyle>('titleTextStyle', match);
}