strikethrough method

TextComponentStyle strikethrough()

Returns a copy of this style with strikethrough text enabled.

Implementation

TextComponentStyle strikethrough() =>
    copyWith(styles: {...styles, FontStyle.strikethrough});