tags property Null safety

Map<String, StyledTextTagBase> tags
final

Map of tag assignments to text style classes and tag handlers.

Example:

StyledText(
  text: '<red>Red</red> text.',
  tags: [
    'red': StyledTextTag(style: TextStyle(color: Colors.red)),
  ],
)

Implementation

final Map<String, StyledTextTagBase> tags;