DeliveryHeader constructor
const
DeliveryHeader({
- Key? key,
- double triggerOffset = kDeliveryTriggerOffset,
- bool clamping = false,
- IndicatorPosition position = IndicatorPosition.above,
- SpringDescription? spring,
- SpringBuilder? readySpringBuilder,
- bool springRebound = false,
- FrictionFactor? frictionFactor,
- double? infiniteOffset,
- bool? hitOver,
- bool? infiniteHitOver,
- bool hapticFeedback = false,
- 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,
);