italic method

T italic()

Implementation

T italic() => this.copyWith(
      style: (this.style ?? TextStyle()).copyWith(
        fontStyle: FontStyle.italic,
      ),
    );