underline method
Implementation
Widget underline() {
if (this is WrappedText) {
return (this as WrappedText).copyWithStyle(
(context, theme) => const TextStyle(
decoration: TextDecoration.underline,
),
);
}
return WrappedText(
style: (context, theme) => const TextStyle(
decoration: TextDecoration.underline,
),
child: this);
}