wherePadding method

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

Example usage:

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

Implementation

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