hasIsExtended method

WidgetMatcher<FloatingActionButton> hasIsExtended(
  1. bool? value
)

Expects that isExtended of FloatingActionButton equals (==) value.

Example usage:

spot<FloatingActionButton>().existsOnce().hasIsExtended(true);

Implementation

WidgetMatcher<FloatingActionButton> hasIsExtended(bool? value) {
  return hasDiagnosticProp<bool>(
      'isExtended', (it) => value == null ? it.isNull() : it.equals(value));
}