hasSubtitleTextStyleWhere method

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

Expects that subtitleTextStyle of ListTile matches the condition in match.

Example usage:

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

Implementation

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