doesNotExist method

void doesNotExist()

Asserts that no widgets of type W exist.

This method does not return a matcher but directly verifies that no widgets are found.

Example usage:

spot<ElevatedButton>().doesNotExist();

See also:

Implementation

void doesNotExist() {
  final none = copyWith(quantityConstraint: QuantityConstraint.zero);
  snapshot(none);
}