underline method

TextComponentStyle underline()

Returns a copy of this style with underlined text enabled.

Implementation

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