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