hasMaterialTapTargetSize method

WidgetMatcher<FloatingActionButton> hasMaterialTapTargetSize(
  1. MaterialTapTargetSize? value
)

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

Example usage:

spot<FloatingActionButton>().existsOnce().hasMaterialTapTargetSize(MaterialTapTargetSize.values.first);

Implementation

WidgetMatcher<FloatingActionButton> hasMaterialTapTargetSize(
    MaterialTapTargetSize? value) {
  return hasDiagnosticProp<MaterialTapTargetSize>('materialTapTargetSize',
      (it) => value == null ? it.isNull() : it.equals(value));
}