MovaPlayPauseComponent class
Large center play/pause tap-feedback button.
Mirrors 0.1.0's _centerPlayPause(): an InkResponse circle (radius 36)
showing a filled play/pause glyph sized/colored from MovaTheme, driven by
MovaState.playing, calling IMovaApi.playOrPause on tap.
中央大号播放/暂停点按反馈按钮。
对齐 0.1.0 的 _centerPlayPause():一个半径 36 的 InkResponse 圆形,内含
填充式播放/暂停图标(尺寸/颜色取自 MovaTheme),由 MovaState.playing 驱动,
点击调用 IMovaApi.playOrPause。
- Inheritance
-
- Object
- MovaComponent
- MovaPlayPauseComponent
Constructors
- MovaPlayPauseComponent()
- Creates the play/pause leaf 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 playback controls with a shared semantic and tooltip label.
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.