resolve method
Implementation
@override
Radius resolve(BuildContext context) {
final themeValue = MixTheme.of(context).radii[this];
assert(
themeValue != null,
'RadiusToken $name is not defined in the theme and has no default value',
);
final resolvedValue =
themeValue is RadiusResolver ? themeValue.resolve(context) : themeValue;
return resolvedValue ?? const Radius.circular(0);
}