onItemsUpdated abstract method

FutureOr<void> onItemsUpdated(
  1. List<T> items,
  2. int slotCount
)

onItemsUpdated will call when item layout changes. Layout can be changed by user or initially re-mount operations. Function called with up-to-date layout data.

Implementation

FutureOr<void> onItemsUpdated(List<T> items, int slotCount);