fontWeight method

T fontWeight(
  1. FontWeight fontWeight
)

Implementation

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