getAllItems abstract method
getAllItems will call if necessary. If your item getter is not Future,
do not override as async
, because if you use unnecessary Future, layout
changes not animated on slotCount changes.
Implementation
FutureOr<List<T>> getAllItems(int slotCount);