underLine method
下划线
Implementation
Text underLine({bool active = true, Color? color}) {
var newStyle = TextStyle(
decoration: active == true ? TextDecoration.underline : TextDecoration.none,
decorationColor: color);
return copyWith(style: style?.merge(newStyle) ?? newStyle);
}