RangePreferenceDelegate
Properties
Functions
Unset the preference.
Returns a new preference with its boolean value flipped.
Format value in a way suitable for display, including unit if relevant.
Creates a new Preference object wrapping the receiver and converting its value from and to the target type V.
Creates a new RangePreference object wrapping the receiver and transforming its supportedRange, or overwriting its formatValue or increment and decrement strategy.
Creates a new RangePreference object wrapping the receiver and converting its value and supportedRange, from and to the target type V.
Toggle the preference value. A default value is taken as the initial one if the preference is currently unset.
Creates a new RangePreference object wrapping the receiver and using a different supported range. A new progressionStrategy can be provided to customize the implementation of increment and decrement.
Creates a new EnumPreference object wrapping the receiver with the provided supportedValues.