clamp property

(T, T)? clamp
getter/setter pair

Optional inclusive (min, max) range for numeric properties.

When set on a double property, the inspector renders a Slider instead of a TextField.

Implementation

(T, T)? clamp;