ByText constructor Null safety

const ByText(
  1. String text
)

Creates a text finder given the text.

Implementation

const ByText(this.text);