hasSelectedTileColorWhere method

WidgetMatcher<ListTile> hasSelectedTileColorWhere(
  1. MatchProp<Color> match
)

Expects that selectedTileColor of ListTile matches the condition in match.

Example usage:

spot<ListTile>().existsOnce().hasSelectedTileColorWhere((it) => it.equals(Colors.red));

Implementation

WidgetMatcher<ListTile> hasSelectedTileColorWhere(MatchProp<Color> match) {
  return hasDiagnosticProp<Color>('selectedTileColor', match);
}