weight method

TextStyle weight(
  1. FontWeight value
)

Sets the font weight.

Implementation

TextStyle weight(FontWeight value) => copyWith(fontWeight: value);