List<Icon> getIcons2() { var icons = <Icon>[]; if (increaseIndent) icons.add(Icon(Icons.format_indent_increase)); if (decreaseIndent) icons.add(Icon(Icons.format_indent_decrease)); return icons; }