BaseWidget<PageKeyType, ItemType> constructor

const BaseWidget<PageKeyType, ItemType>({
  1. Key? key,
  2. WidgetBuilder? emptyBuilder,
  3. WidgetBuilder? loadingBuilder,
  4. ErrorBuilder? errorBuilder,
  5. required PagedChildBuilderDelegate<ItemType> builderDelegate,
  6. required DataSource<PageKeyType, ItemType> pageDataSource,
  7. WidgetBuilder? refreshBuilder,
  8. SeparatorBuilder<ItemType>? separatorBuilder,
})

Implementation

const BaseWidget(
    {Key? key,
    this.emptyBuilder,
    this.loadingBuilder,
    this.errorBuilder,
    required this.builderDelegate,
    required this.pageDataSource,
    this.refreshBuilder,
    this.separatorBuilder})
    : super(key: key);