text method

bool text(
  1. String text
)

Returns true if the latest rendered view contains text.

Implementation

bool text(String text) => Layout.stripAnsi(_tester._lastView).contains(text);