underline top-level property

ToolbarItem underline
final

Toolbar item that toggles the underlineAttribute on the selected text.

Implementation

final underline = createToggleableToolbarItem(
  'Underline',
  underlineAttribute,
  Icons.format_underline_rounded,
);