underline method
Returns the text style to be underlined.
color
is the color of the underline.
style
is the style of the underline.
thickness
is the thickness of the underline.
下線を引くためのテキストスタイルを返します。
color
は下線の色です。
style
は下線のスタイルです。
thickness
は下線の太さです。
Implementation
TextStyle underline({
Color? color,
TextDecorationStyle? style,
double? thickness,
}) =>
TextStyle(
decoration: TextDecoration.underline,
decorationColor: color,
decorationStyle: style,
decorationThickness: thickness,
);