buildChildLayout method

  1. @override
Widget buildChildLayout(
  1. BuildContext context
)
override

Subclasses should override this method to build the layout model.

Implementation

@override
Widget buildChildLayout(BuildContext context) =>
    PagedSliverMasonryGrid<PageKeyType, PagingItem>(
      builderDelegate: builderDelegate,
      gridDelegateBuilder: gridDelegateBuilder,
      mainAxisSpacing: mainAxisSpacing,
      crossAxisSpacing: crossAxisSpacing,
      addAutomaticKeepAlives: addAutomaticKeepAlives,
      addRepaintBoundaries: addRepaintBoundaries,
      addSemanticIndexes: addSemanticIndexes,
      showNewPageProgressIndicatorAsGridChild:
          showNewPageProgressIndicatorAsGridChild,
      showNewPageErrorIndicatorAsGridChild:
          showNewPageErrorIndicatorAsGridChild,
      showNoMoreItemsIndicatorAsGridChild:
          showNoMoreItemsIndicatorAsGridChild,
      shrinkWrapFirstPageIndicators: _shrinkWrapFirstPageIndicators,
      pagingBuilderController: pagingBuilderController,
      statusBuilderDelegate: statusBuilderDelegate,
    );