MovaPreviewComponent class

The scrub-preview bubble: a thumbnail plus the target timestamp, floating directly above the seek bar while a drag is in progress.

Driven purely by MovaUiState.previewAt — both drag sources (the seek bar's onChanged and the gesture layer's horizontal drag) already publish it via IMovaApi.setDragging, so this component needs no knowledge of either. Replace it wholesale with MovaPatch.replace('preview', MyBubble()).

拖动预览气泡:一张缩略图加目标时间戳,拖动过程中浮在进度条正上方。

完全由 MovaUiState.previewAt 驱动——两个拖动来源(进度条的 onChanged 与手势层的横滑)都已经通过 IMovaApi.setDragging 发布该字段,因此本组件 无需感知它们中的任何一个。可用 MovaPatch.replace('preview', MyBubble()) 整块替换。

Inheritance

Constructors

MovaPreviewComponent()
Creates the preview-bubble 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 MovaPatch addressing.