HoldScrollActivity constructor

HoldScrollActivity({@required ScrollActivityDelegate delegate, VoidCallback onHoldCanceled })

Creates a scroll activity that does nothing.

Implementation

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