bold method

TextStyle bold({
  1. FontWeight? weight,
})

Returns a copy with bold weight (default weight is 600).

Implementation

TextStyle bold({FontWeight? weight}) =>
    copyWith(fontWeight: weight ?? FontWeight.w600);