HoldScrollActivity constructor

HoldScrollActivity(
  1. {required ScrollActivityDelegate delegate,
  2. VoidCallback? onHoldCanceled}
)

Creates a scroll activity that does nothing.

Implementation

HoldScrollActivity({
  required ScrollActivityDelegate delegate,
  this.onHoldCanceled,
}) : super(delegate);