fromValue static method

GuiValueBoxProperty fromValue(
  1. int value
)

Implementation

static GuiValueBoxProperty fromValue(int value) => switch (value) {
  16 => SPINNER_BUTTON_WIDTH,
  17 => SPINNER_BUTTON_SPACING,
  _ => throw ArgumentError('Unknown value for GuiValueBoxProperty: $value'),
};