resolve method
Implementation
@override
TextStyle resolve(BuildContext context) {
final themeValue = MixTheme.of(context).textStyles[this];
assert(
themeValue != null,
'TextStyleToken $name is not defined in the theme',
);
final resolvedValue = themeValue is TextStyleResolver
? themeValue.resolve(context)
: themeValue;
return resolvedValue ?? const TextStyle();
}