fontWeight method

T fontWeight(
  1. FontWeight fontWeight
)

Implementation

T fontWeight(final FontWeight fontWeight) => copyWith(
      style: (style ?? const TextStyle()).copyWith(fontWeight: fontWeight),
    ) as T;