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
-
- @Deprecated('Use SlidableAutoCloseNotification instead')
- @immutable
Constructors
- SlidableNotification.new({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
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