OptionalRangePreference
A Preference whose values must be null or in a ClosedRange of T.
Inheritors
Properties
Functions
Link copied to clipboard
Unset the preference.
Link copied to clipboard
Returns a new preference with its boolean value flipped.
Link copied to clipboard
Format value in a way suitable for display, including unit if relevant.
Link copied to clipboard
Toggle the preference value. A default value is taken as the initial one if the preference is currently unset.
Link copied to clipboard
Creates a new EnumPreference object wrapping the receiver with the provided supportedValues.