iconOf static method
Implementation
static IconData iconOf(UDocMarkupKind kind) {
switch (kind) {
case UDocMarkupKind.highlight:
return Icons.format_color_fill_rounded;
case UDocMarkupKind.underline:
return Icons.format_underlined_rounded;
case UDocMarkupKind.strikeThrough:
return Icons.format_strikethrough_rounded;
case UDocMarkupKind.squiggly:
return Icons.gesture_rounded;
case UDocMarkupKind.border:
return Icons.crop_square_rounded;
case UDocMarkupKind.note:
return Icons.sticky_note_2_outlined;
}
}