CNSliderController class
Controller for a CNSlider allowing imperative changes to the native NSSlider/UISlider instance.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setEnabled(
bool enabled) → Future< void> - Enables or disables user interaction on the slider.
-
setRange(
{required double min, required double max}) → Future< void> -
Sets the valid
min
andmax
range of the slider. -
setValue(
double value, {bool animated = false}) → Future< void> -
Sets the current slider
value
. Whenanimated
is true, animates to it. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited