PagingGridView<T> constructor

PagingGridView<T>({
  1. Key? key,
  2. EdgeInsets? padding,
  3. required SliverGridDelegate delegate,
  4. bool isEnablePullToRefresh = true,
  5. required ValueIndexWidgetBuilder<T> itemBuilder,
  6. WidgetBuilder? emptyBuilder,
  7. WidgetBuilder? loadingBuilder,
  8. ErrorBuilder? errorBuilder,
  9. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  10. required DataSource<T> pageDataSource,
})

Implementation

PagingGridView(
    {Key? key,
    this.padding,
    required this.delegate,
    this.isEnablePullToRefresh = true,
    required ValueIndexWidgetBuilder<T> itemBuilder,
    WidgetBuilder? emptyBuilder,
    WidgetBuilder? loadingBuilder,
    ErrorBuilder? errorBuilder,
    ScrollViewKeyboardDismissBehavior keyboardDismissBehavior =
        ScrollViewKeyboardDismissBehavior.manual,
    required DataSource<T> pageDataSource})
    : super(
          itemBuilder: itemBuilder,
          emptyBuilder: emptyBuilder,
          loadingBuilder: loadingBuilder,
          errorBuilder: errorBuilder,
          keyboardDismissBehavior: keyboardDismissBehavior,
          pageDataSource: pageDataSource,
          key: key);