icon property

IconData get icon

Icon representing the animation preset

Implementation

IconData get icon {
  switch (this) {
    case AnimationPreset.none:
      return Icons.block;
    case AnimationPreset.scale:
      return Icons.zoom_in;
    case AnimationPreset.pulse:
      return Icons.favorite;
    case AnimationPreset.bounce:
      return Icons.sports_basketball;
    case AnimationPreset.fadeScale:
      return Icons.opacity;
    case AnimationPreset.rotate:
      return Icons.refresh;
    case AnimationPreset.shake:
      return Icons.vibration;
    case AnimationPreset.growWiggle:
      return Icons.auto_awesome;
  }
}