SliderInteraction enum

Possible ways for a user to interact with a Slider.

Inheritance

Values

tapAndSlide → const SliderInteraction

Allows the user to interact with a Slider by tapping or sliding anywhere on the track.

Essentially all possible interactions are allowed.

This is different from SliderInteraction.slideOnly as when you try to slide anywhere other than the thumb, the thumb will move to the first point of contact.

tapOnly → const SliderInteraction

Allows the user to interact with a Slider by only tapping anywhere on the track.

Sliding interaction is ignored.

slideOnly → const SliderInteraction

Allows the user to interact with a Slider only by sliding anywhere on the track.

Tapping interaction is ignored.

slideThumb → const SliderInteraction

Allows the user to interact with a Slider only by sliding the thumb.

Tapping and sliding interactions on the track are ignored.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<SliderInteraction>
A constant List of the values in this enum, in order of their declaration.