getIcons2 method

List<Icon> getIcons2()

Implementation

List<Icon> getIcons2() {
  var icons = <Icon>[];
  if (copy) icons.add(Icon(Icons.copy));
  if (paste) icons.add(Icon(Icons.paste));
  return icons;
}