resolve method

double resolve(
  1. BuildContext context
)

Implementation

double resolve(BuildContext context) {
  final token = MixTheme.of(context).spaces.findByRef(this);

  assert(
    token != null,
    'SpaceRef $this is not defined in the theme',
  );

  return token?.resolve(context) ?? 0.0;
}