hasShape method
Expects that shape of ListTile equals (==) value
.
Example usage:
spot<ListTile>().existsOnce().hasShape(RoundedRectangleBorder());
Implementation
WidgetMatcher<ListTile> hasShape(ShapeBorder? value) {
return hasDiagnosticProp<ShapeBorder>(
'shape', (it) => value == null ? it.isNull() : it.equals(value));
}