patterns property
final Map<String, TextStyle> patterns; is declaring a final variable patterns of type
Map<String, TextStyle>. This variable is used to store the different text patterns and their
corresponding text styles that the NixyTextFieldController class supports, such as URLs,
checkboxes, and code blocks. The keys of the map are the pattern strings, and the values are the
corresponding TextStyle objects that define how the text should be styled when that pattern is
matched.
Implementation
final Map<String, TextStyle> patterns;