StreamEmojiChipItem<T> class
A single item in a StreamEmojiChipBar.
Pairs a value of type T (used for selection identity) with visual
properties (emoji and optional count) rendered inside a
StreamEmojiChip.
This follows the same pattern as ButtonSegment in Flutter's SegmentedButton, where the generic value drives selection and widget fields drive rendering.
Constructors
- StreamEmojiChipItem({required T value, required StreamEmojiContent emoji, int? count})
-
Creates a filter bar item.
const
Properties
- count → int?
-
The reaction count to display next to emoji.
final
- emoji → StreamEmojiContent
-
The content model describing what to render inside the chip.
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 → T
-
The value this item represents.
final
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