hasPaddingWhere method
Expects that padding of IconButton matches the condition in match
.
Example usage:
spot<IconButton>().existsOnce().hasPaddingWhere((it) => it.equals(EdgeInsets.all(8.0)));
Implementation
WidgetMatcher<IconButton> hasPaddingWhere(
MatchProp<EdgeInsetsGeometry> match) {
return hasDiagnosticProp<EdgeInsetsGeometry>('padding', match);
}