ScrollUpdateNotification constructor
- required ScrollMetrics metrics,
- required BuildContext context,
- DragUpdateDetails? dragDetails,
- double? scrollDelta,
- int? depth,
Creates a notification that a Scrollable widget has changed its scroll position.
Implementation
ScrollUpdateNotification({
required super.metrics,
required BuildContext super.context,
this.dragDetails,
this.scrollDelta,
int? depth,
}) {
if (depth != null) {
_depth = depth;
}
}