StickyPositionConstraint constructor

StickyPositionConstraint({
  1. required Rect stickyBoxRect,
  2. required Rect containingBlockRect,
  3. LayerId? nearestLayerShiftingStickyBox,
  4. LayerId? nearestLayerShiftingContainingBlock,
})

Implementation

StickyPositionConstraint(
    {required this.stickyBoxRect,
    required this.containingBlockRect,
    this.nearestLayerShiftingStickyBox,
    this.nearestLayerShiftingContainingBlock});