OverScrollHeaderStretchConfiguration constructor Null safety

OverScrollHeaderStretchConfiguration(
  1. {double stretchTriggerOffset = 100.0,
  2. AsyncCallback? onStretchTrigger}
)

Creates an object that specifies how a stretched header may activate an AsyncCallback.

Implementation

OverScrollHeaderStretchConfiguration({
  this.stretchTriggerOffset = 100.0,
  this.onStretchTrigger,
}) : assert(stretchTriggerOffset != null);