SegmentDragBehavior enum

What a horizontal drag means on a scrollable segmented control.

Inheritance
Available extensions

Values

selectIndicator → const SegmentDragBehavior

A drag beginning on the selected segment drags the INDICATOR from choice to choice (the UISegmentedControl gesture); drags elsewhere scroll the list. The right feel when every choice is visible.

scroll → const SegmentDragBehavior

Every drag scrolls the list — the selected segment included; selection changes by tap only. The picker behavior: with most choices off-screen (and especially with SegmentSelectionAlignment.center, which parks the selection exactly where a scrolling thumb naturally lands), navigation is what a drag means.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<SegmentDragBehavior>
A constant List of the values in this enum, in order of their declaration.