fromValue static method
Returns the GuiSliderProperty for the given native value.
Throws ArgumentError if value does not correspond to a known entry.
Implementation
static GuiSliderProperty fromValue(int value) => switch (value) {
16 => SLIDER_WIDTH,
17 => SLIDER_PADDING,
_ => throw ArgumentError('Unknown value for $GuiSliderProperty: $value'),
};