getIcons2 method

List<Icon> getIcons2()

Implementation

List<Icon> getIcons2() {
  var icons = <Icon>[];
  if (strikethrough) icons.add(Icon(Icons.format_strikethrough));
  if (superscript) icons.add(Icon(Icons.superscript));
  if (subscript) icons.add(Icon(Icons.subscript));
  return icons;
}