assetsGridItemCount abstract method

int assetsGridItemCount({
  1. required BuildContext context,
  2. required List<Asset> assets,
  3. int placeholderCount = 0,
})

The function which return items count for the assets' grid. 为资源列表提供内容数量计算的方法

Implementation

int assetsGridItemCount({
  required BuildContext context,
  required List<Asset> assets,
  int placeholderCount = 0,
});