enableSmoothPushing property

  1. @Input()
set enableSmoothPushing (bool value)

If enabled, smoothly push colliding elements which share a stickyKey, instead of overlapping them (limitations apply).

Limitations are:

  • The behavior is unspecified when elements with differing stickyKeys are interleaved. It should only be enabled when using one stickyKey.

  • Ignored if usePositionSticky is true.

Implementation

@Input()
set enableSmoothPushing(bool value) {
  _enableSmoothPushing = value;
  stickyController?.enableSmoothPushing = value;
}