GuiIconText method

String GuiIconText(
  1. GuiIconName iconId,
  2. String? text
)

Get text with icon id prepended (if supported)

Implementation

String GuiIconText(
  GuiIconName iconId,
  String? text,
) => run(
  () => _debugLabels.GuiIconText(iconId, text),
  () => _flat.GuiIconText(
    iconId.value,
    $.String$.ValueOrNull(text),
  ).toDartString(),
);