whereShadows method

  1. @useResult
WidgetSelector<Icon> whereShadows(
  1. MatchProp<Shadow> match
)

Creates a WidgetSelector that finds all Icon where shadows matches the condition.

Example usage:

spot<Icon>().whereShadows((it) => it.equals(Shadow(color: Colors.black, blurRadius: 10.0))).existsOnce();

Implementation

@useResult
WidgetSelector<Icon> whereShadows(MatchProp<Shadow> match) {
  return withDiagnosticProp<Shadow>('shadows', match);
}