TextHoverEvent class

Fires on mouse over, Part of TextComponent.

Constructors

TextHoverEvent({required String action, required dynamic value})
Fires on mouse over, Part of TextComponent.
TextHoverEvent.achievement(String name)
shows an achievement
TextHoverEvent.entity(String name, String type, String id)
TextHoverEvent.item(Item item)
TextHoverEvent.text(List<TextComponent> texts)
Accepts a new List of TextComponents to display

Properties

action String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited