onHorizontalDragDown method Null safety

void onHorizontalDragDown(
  1. DragDownDetails details
)

Implementation

void onHorizontalDragDown(DragDownDetails details) {
  if (widget.onSlideStarted != null) widget.onSlideStarted!.call();
}