icon property

IconData get icon

Implementation

IconData get icon {
  switch (this) {
    case AnnotationMode.view:
      return Icons.visibility;
    case AnnotationMode.draw:
      return Icons.brush;
    case AnnotationMode.note:
      return Icons.note_add;
    case AnnotationMode.shape:
      return Icons.crop_square;
    case AnnotationMode.highlight:
      return Icons.highlight;
    case AnnotationMode.select:
      return Icons.touch_app;
  }
}