hasPadding method
Expects that padding of GridView equals (==) value
.
Example usage:
spot<GridView>().existsOnce().hasPadding(EdgeInsets.all(8.0));
Implementation
WidgetMatcher<GridView> hasPadding(EdgeInsetsGeometry? value) {
return hasDiagnosticProp<EdgeInsetsGeometry>(
'padding', (it) => value == null ? it.isNull() : it.equals(value));
}