StreamEmojiChipBarProps<T extends Object?> class
Properties for configuring a StreamEmojiChipBar.
This class holds all the configuration options for an emoji chip bar, allowing them to be passed through the StreamComponentFactory.
See also:
- StreamEmojiChipBar, which uses these properties.
- DefaultStreamEmojiChipBar, the default implementation.
Constructors
-
StreamEmojiChipBarProps({Widget? leading, required List<
StreamEmojiChipItem< items, T? selected, ValueChanged<T> >T?> ? onSelected, EdgeInsetsGeometry? padding, double? spacing}) -
Creates properties for an emoji chip bar.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
StreamEmojiChipItem< T> > -
The filter items to display.
final
- leading → Widget?
-
An optional widget rendered before the filter items.
final
-
onSelected
→ ValueChanged<
T?> ? -
Called when an item is tapped.
final
- padding → EdgeInsetsGeometry?
-
The padding around the scrollable chip row.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected → T?
-
The currently selected value, or
nullif no filter is active.final - spacing → double?
-
The gap between chips in the row.
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