fontWeight method

T fontWeight(
  1. FontWeight fontWeight
)

Implementation

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