getPrimaryStyle method

TextStyle getPrimaryStyle(
  1. OptimusTokens tokens
)

Implementation

TextStyle getPrimaryStyle(OptimusTokens tokens) => switch (this) {
      FontVariant.normal => tokens.bodyLargeStrong,
      FontVariant.bold =>
        tokens.bodyLargeStrong.copyWith(fontWeight: FontWeight.w700),
    };