icon property

IconData get icon

Implementation

IconData get icon {
  switch (variant) {
    case ErpThemeVariant.frost:    return Icons.ac_unit_rounded;

    case ErpThemeVariant.ocean:    return Icons.water_drop_rounded;
    case ErpThemeVariant.midnight: return Icons.nights_stay_rounded;
    case ErpThemeVariant.emerald:  return Icons.eco_rounded;
    case ErpThemeVariant.rose:     return Icons.local_florist_rounded;
    case ErpThemeVariant.aurora:   return Icons.auto_awesome_rounded;
    case ErpThemeVariant.ghost:    return Icons.blur_circular_rounded;
    case ErpThemeVariant.obsidian: return Icons.dark_mode_rounded;
    case ErpThemeVariant.amber:    return Icons.wb_sunny_rounded;
    case ErpThemeVariant.noir:     return Icons.contrast_rounded;
  }
}