DeliveryHeader constructor

const DeliveryHeader({
  1. Key? key,
  2. double triggerOffset = kDeliveryTriggerOffset,
  3. bool clamping = false,
  4. IndicatorPosition position = IndicatorPosition.above,
  5. SpringDescription? spring,
  6. SpringBuilder? readySpringBuilder,
  7. bool springRebound = false,
  8. FrictionFactor? frictionFactor,
  9. double? infiniteOffset,
  10. bool? hitOver,
  11. bool? infiniteHitOver,
  12. bool hapticFeedback = false,
  13. Color? skyColor,
})

Implementation

const DeliveryHeader({
  this.key,
  super.triggerOffset = kDeliveryTriggerOffset,
  super.clamping = false,
  super.position,
  super.spring,
  super.readySpringBuilder,
  super.springRebound = false,
  super.frictionFactor,
  super.infiniteOffset,
  super.hitOver,
  super.infiniteHitOver,
  super.hapticFeedback,
  this.skyColor,
}) : super(
        processedDuration: const Duration(milliseconds: 100),
        safeArea: false,
      );