StreamEmojiChipProps class

Properties for configuring a StreamEmojiChip.

This class holds all the configuration options for an emoji chip, allowing them to be passed through the StreamComponentFactory.

See also:

Constructors

StreamEmojiChipProps({required List<StreamEmojiContent> emojis, int? count, VoidCallback? onPressed, VoidCallback? onLongPress, bool isSelected = false})
Creates properties for an emoji chip.
const

Properties

count → int?
The reaction count to display next to the emojis.
final
emojis → List<StreamEmojiContent>
The content models describing what to render inside the chip.
final
hashCode → int
The hash code for this object.
no setterinherited
isSelected → bool
Whether the chip is in a selected state.
final
onLongPress → VoidCallback?
Called when the chip is long-pressed.
final
onPressed → VoidCallback?
Called when the chip is pressed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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