weight method

VText weight(
  1. FontWeight w
)

Sets font weight.

Implementation

VText weight(FontWeight w) => copyWithStyle(TextStyle(fontWeight: w));