Open
Description
Feature Description
I have been wondering whether we could have Ranges as types in Slint.
A range would be a integer or float value between an upper and a lower bound. I have been running into variables that have some valid range (e.g. a speedometer might go from 0 to 280 or a minute has between 0-59 seconds).
Exposing this range information in the type system could be very convenient for users and would also help doing UIs in our tooling.
Product Impact
No response