whereSplashColor method

  1. @useResult
WidgetSelector<IconButton> whereSplashColor(
  1. MatchProp<Color> match
)

Creates a WidgetSelector that finds all IconButton where splashColor matches the condition.

Example usage:

spot<IconButton>().whereSplashColor((it) => it.equals(Colors.red)).existsOnce();

Implementation

@useResult
WidgetSelector<IconButton> whereSplashColor(MatchProp<Color> match) {
  return withDiagnosticProp<Color>('splashColor', match);
}