SheetNotification class sealed
A Notification that is dispatched when the sheet extent changes.
Sheet widgets notify their ancestors about changes to their extent. There are 5 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 extent because its SheetPhysics does not allow it to be.
- SheetUpdateNotification, which is dispatched when the sheet extent 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.
See also:
- NotificationListener, which can be used to listen for notifications in a subtree.
- Inheritance
-
- Object
- Notification
- SheetNotification
- Implementers
Constructors
- SheetNotification({required SheetMetrics metrics, required SheetStatus status})
-
const
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
- status → SheetStatus
-
The status of the sheet at the time this notification was sent.
final
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