withWeight method

Text withWeight(
  1. FontWeight weight
)

Implementation

Text withWeight(FontWeight weight) => copyWith(style: style?.withWeight(weight));