RefreshListWidget<T> constructor

const RefreshListWidget<T>({
  1. Key? key,
  2. required PagingController controller,
  3. required Widget itemBuilder(
    1. T item,
    2. int index
    ),
  4. dynamic onItemClick(
    1. T item,
    2. int index
    )?,
  5. Widget? empty,
  6. int crossAxisCount = 2,
  7. double spacing = 12,
  8. bool showList = true,
  9. double? emptyTop,
})

Implementation

const RefreshListWidget({
  super.key,
  required this.controller,
  required this.itemBuilder,
  this.onItemClick,
  this.empty,
  this.crossAxisCount = 2,
  this.spacing = 12,
  this.showList = true,
  this.emptyTop,
});