getIconData method

IconData getIconData()

Implementation

IconData getIconData() {
  IconData icon = EasyIconData.menu;
  switch (type) {
    case EasyEmptyType.normal:
      icon = EasyIconData.modular;
      break;
    case EasyEmptyType.file:
      icon = EasyIconData.file;
      break;
    case EasyEmptyType.message:
      icon = EasyIconData.email;
      break;
    case EasyEmptyType.comment:
      icon = EasyIconData.comment;
      break;
    default:
      break;
  }
  return icon;
}