withStyle method

TextStyle withStyle(
  1. TextStyle style
)

Applies font style

Implementation

TextStyle withStyle(TextStyle style) => copyWith()..withStyle(style);