weight method

T weight(
  1. dynamic value
)

Set font weight - accepts String ('thin', 'light', 'normal', 'medium', 'bold', etc.) or FontWeight

Implementation

T weight(dynamic value) {
  return copyWith(flyStyle.copyWith(fontWeight: value));
}