SlidableNotification class

A Slidable notification that can bubble up the widget tree.

You can determine the type of a notification using the is operator to check the runtimeType of the notification.

To listen for notifications in a subtree, use a SlidableNotificationListener.

To send a notification, call dispatch on the notification you wish to send. The notification will be delivered to the closest SlidableNotificationListener widget.

Implementers
Annotations

Constructors

SlidableNotification({required Object? tag})
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag Object?
A tag representing the Slidable from which the notification is sent.
final

Methods

dispatch(BuildContext context, SlidableController controller) → void
Start bubbling this notification at the given build context.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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