hasSelectedTileColor method

WidgetMatcher<ListTile> hasSelectedTileColor(
  1. Color? value
)

Expects that selectedTileColor of ListTile equals (==) value.

Example usage:

spot<ListTile>().existsOnce().hasSelectedTileColor(Colors.red);

Implementation

WidgetMatcher<ListTile> hasSelectedTileColor(Color? value) {
  return hasDiagnosticProp<Color>('selectedTileColor',
      (it) => value == null ? it.isNull() : it.equals(value));
}