italic top-level property

ToolbarItem italic
final

Toolbar item that toggles the italicAttribute on the selected text.

Implementation

final italic = createToggleableToolbarItem(
  'Italic',
  italicAttribute,
  Icons.format_italic_rounded,
);