wherePadding method

Creates a WidgetSelector that finds all Container where padding matches the condition.

Example usage:

spot<Container>().wherePadding((it) => it.equals(EdgeInsets.all(8.0))).existsOnce();

Implementation

@useResult
WidgetSelector<Container> wherePadding(MatchProp<EdgeInsetsGeometry> match) {
  return withDiagnosticProp<EdgeInsetsGeometry>('padding', match);
}