PatchbayRevealDirection enum

一次 reveal 请求的内容序方向。

不是屏幕方向:forward 表示朝 maxScrollExtent 前进(pixels 增大), backwardminScrollExtent。落到哪个 SemanticsAction 由容器当前暴露的 action 与观察到的位移符号确定——reverse: true 的列表与横向列表因此不需要 调用方先知道布局方向。

both 是默认值,也是唯一零探测步的选择:它只要求把同轴的两个 action 各自 驱动到耗尽,不需要先知道谁增大 pixels

Inheritance
Available extensions

Values

forward → const PatchbayRevealDirection
backward → const PatchbayRevealDirection
both → const PatchbayRevealDirection

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
wire PatchbayRevealDirectionWire
no setter

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