resolve method
Implementation
@override
TextStyle resolve(MixData mix) {
return ref == null
? TextStyle(
color: color?.resolve(mix),
backgroundColor: backgroundColor?.resolve(mix),
fontSize: fontSize,
fontWeight: fontWeight,
fontStyle: fontStyle,
letterSpacing: letterSpacing,
wordSpacing: wordSpacing,
textBaseline: textBaseline,
height: height,
locale: locale,
foreground: foreground,
background: background,
shadows: shadows?.map((e) => e.resolve(mix)).toList(),
fontFeatures: fontFeatures,
decoration: decoration,
decorationColor: decorationColor?.resolve(mix),
decorationStyle: decorationStyle,
decorationThickness: decorationThickness,
debugLabel: debugLabel,
fontFamily: fontFamily,
fontFamilyFallback: fontFamilyFallback,
)
: mix.tokens.textStyleRef(ref!);
}