PagingGridView<T> constructor
PagingGridView<T> ({
- Key? key,
- EdgeInsets? padding,
- required SliverGridDelegate delegate,
- bool isEnablePullToRefresh = true,
- required ValueIndexWidgetBuilder<
T> itemBuilder, - WidgetBuilder? emptyBuilder,
- WidgetBuilder? loadingBuilder,
- ErrorBuilder? errorBuilder,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- 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);