SearchQuote constructor
const
SearchQuote({
- required FormattedText text,
- required FormattedText quote,
- required int quotePosition,
Searches for a given quote in a text. Returns found quote start position in UTF-16 code units. Returns a 404 error if the quote is not found. Can be called synchronously
Implementation
const SearchQuote({
required this.text,
required this.quote,
required this.quotePosition,
});