dvFindNormalize function
text as find compares it: whitespace collapsed, case folded.
A paragraph Flutter wrapped over three lines is one run of words to the reader, and the browser's find is case-insensitive by default.
Implementation
String dvFindNormalize(String text) =>
text.replaceAll(RegExp(r'\s+'), ' ').trim().toLowerCase();