hasElevation method
Expects that elevation of FloatingActionButton equals (==) value
.
Example usage:
spot<FloatingActionButton>().existsOnce().hasElevation(10.5);
Implementation
WidgetMatcher<FloatingActionButton> hasElevation(double? value) {
return hasDiagnosticProp<double>(
'elevation', (it) => value == null ? it.isNull() : it.equals(value));
}