MovaShareButtonComponent class

Share entry; display-only count from MovaFeedItem.shareCount, tap fires MovaFeedItem.onShare — mova owns no share sheet.

分享入口;计数来自 MovaFeedItem.shareCount 仅供展示,点击触发 MovaFeedItem.onShare——mova 不持有任何分享面板。

Inheritance

Constructors

MovaShareButtonComponent({required MovaFeedItem item})
Creates the share-button 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
item → MovaFeedItem
Metadata + callbacks for the current page.
final
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.