assetGridItemCount method

int assetGridItemCount(
  1. List<AssetEntity> assets, {
  2. int placeholderCount = 0,
})

Items and placeholders current displayed in the grid

Implementation

int assetGridItemCount(List<AssetEntity> assets, {int placeholderCount = 0}){
  return assets.length + placeholderCount;
}