ExpectVisible constructor

const ExpectVisible({
  1. required String text,
  2. int? timeout,
})

Asserts that a node that matches the arguments is visible.

This action can be invoked either using the short-hand version:

- expectVisible: "Hello World"

Or using the verbose version:

- expectVisible:
    text: "Hello World"
    timeout: 1000

Implementation

const ExpectVisible({
  required this.text,
  this.timeout,
});