resolve method
Returns a text attribute value that can depend on context
.
Implementation
@override
TextAttributeValue resolve(BuildContext context) {
final style = getStyle(AttributeTheme.of(context));
return _valueWithoutStyle.copyWith(style: style);
}