StreamJumpToUnreadButtonProps class

Properties for configuring a StreamJumpToUnreadButton.

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

See also:

Constructors

StreamJumpToUnreadButtonProps({required String label, IconData? leadingIcon, IconData? trailingIcon, VoidCallback? onJumpPressed, VoidCallback? onDismissPressed})
Creates properties for a jump-to-unread button.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
label → String
The text label displayed next to the leading icon.
final
leadingIcon → IconData?
The icon displayed at the start of the leading section.
final
onDismissPressed → VoidCallback?
Called when the trailing dismiss section is pressed.
final
onJumpPressed → VoidCallback?
Called when the leading section (icon + label) is pressed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trailingIcon → IconData?
The icon displayed in the trailing section after the separator.
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