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