resolve method

  1. @override
TextAttributeValue resolve(
  1. BuildContext context
)
override

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);
}