SliderListenerDragState enum

Describes the current state of a slider change as a result of a drag event.

initial indicates that the slider was set to an initial position when new data was drawn on a chart. This will be fired if an initialDomainValue is passed to Slider. It will also be fired if the position of the slider changes as a result of new data being drawn on the chart.

drag indicates that the slider is being moved as a result of drag events. When this is passed, the drag event is still active. Once the drag event is completed, an end event will be fired.

end indicates that a drag event has been completed. This usually occurs after one or more drag events. An end event will also be fired if Slider.moveSliderToDomain is called, but there will be no preceding drag events in this case.

Inheritance

Constructors

SliderListenerDragState()
const

Values

initial → const SliderListenerDragState
drag → const SliderListenerDragState
end → const SliderListenerDragState

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<SliderListenerDragState>
A constant List of the values in this enum, in order of their declaration.