italic method

Text italic()

斜体

Implementation

Text italic() {
  var newStyle = const TextStyle(fontStyle: FontStyle.italic);
  return copyWith(style: style?.merge(newStyle) ?? newStyle);
}