shift property

Offset Function(Size size, FPortalChildBox childBox, FPortalBox portalBox) shift
final

The shifting strategy used to shift a portal when it overflows out of the viewport. Defaults to FPortalShift.flip.

It is applied after spacing and before offset.

See FPortalShift for the different shifting strategies.

Implementation

final Offset Function(Size size, FPortalChildBox childBox, FPortalBox portalBox) shift;