setStyle method

Text setStyle(
  1. TextStyle? style
)

Change the style.

Implementation

Text setStyle(TextStyle? style) => copyWith(style: style);