MovaGestureLayerComponent class
Component that recognizes gestures on the video surface (drag/pinch/tap)
and drives the matching IMovaApi intent — never touching playback state
directly. Which action each direction performs is configurable via
MovaGestureOpts (side↔action mapping); defaults follow the mainstream
convention (left = brightness, right = volume, horizontal = seek). Seek is
gated by liveSeekable/allowWhenLive for live sources.
识别视频画面手势(拖动/捏合/点击)并驱动对应 IMovaApi 意图的组件——绝不
直接操作播放状态。每个方向执行哪个动作由 MovaGestureOpts 配置(侧别↔动作
映射);默认对齐主流约定(左亮度、右音量、横滑进度)。直播源的进度手势受
liveSeekable/allowWhenLive 门控。
- Inheritance
-
- Object
- MovaComponent
- MovaGestureLayerComponent
Constructors
- MovaGestureLayerComponent()
- Creates a gesture-layer component.
Properties
-
children
→ List<
MovaComponent> -
Nested child components, if this node is a composite. Empty for leaves.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Stable identifier used for path matching in MovaPatch operations.
no setteroverride
- order → int
-
Sort key within a slot; ascending, ties broken by original position.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slot → MovaSlot
-
The overlay region this component renders into.
no setteroverride
Methods
-
build(
BuildContext context, IMovaApi api, List< Widget> children) → Widget -
Builds the widget for this component.
override
-
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
- componentName → const String
-
This component's path segment for
MovaPatchaddressing.