SheetNotification class sealed
A Notification that is dispatched when the sheet position changes.
Sheet widgets notify their ancestors about changes to their position. There are 6 types of notifications:
- SheetOverflowNotification, which is dispatched when the user tries to drag the sheet beyond its draggable bounds but the sheet has not changed its position because its SheetPhysics does not allow it to be.
- SheetUpdateNotification, which is dispatched when the sheet position is updated by other than user interaction such as animation.
- SheetDragUpdateNotification, which is dispatched when the sheet is dragged.
- SheetDragStartNotification, which is dispatched when the user starts dragging the sheet.
- SheetDragEndNotification, which is dispatched when the user stops dragging the sheet.
- SheetDragCancelNotification, which is dispatched when the user or the system cancels a drag gesture in the sheet.
See also:
- NotificationListener, which can be used to listen for notifications in a subtree.
- Inheritance
-
- Object
- Notification
- SheetNotification
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- metrics → SheetMetrics
-
A snapshot of the sheet metrics at the time this notification was sent.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
debugFillDescription(
List< String> description) → void -
Add additional information to the given description for use by toString.
override
-
dispatch(
BuildContext? target) → void -
Start bubbling this notification at the given build context.
inherited
-
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