layoutSize property

LayoutSize? layoutSize

the layout result of RenderSlidable for all actions

Implementation

LayoutSize? get layoutSize => _layoutSize;
void layoutSize=(LayoutSize? layoutSize)

the layout result of RenderSlidable it will be set instantly after RenderSlidable.performLayout users must not set it manually

Implementation

set layoutSize(LayoutSize? layoutSize) {
  if (_layoutSize != layoutSize) {
    _layoutSize = layoutSize;
  }

  if (_syncDragExtentOnce) {
    _dragExtent = layoutSize?.getDragExtent(ratio) ?? 0;
    _syncDragExtentOnce = false;
  }
}