StructuredFormatting constructor

StructuredFormatting({
  1. required String mainText,
  2. List<MatchedSubstring> mainTextMatchedSubstrings = const <MatchedSubstring>[],
  3. String? secondaryText,
})

Implementation

StructuredFormatting({
  required this.mainText,
  this.mainTextMatchedSubstrings = const <MatchedSubstring>[],
  this.secondaryText,
});