PaginationWidget constructor

const PaginationWidget({
  1. Key? key,
  2. Widget? bottomLoader,
  3. bool isGridView = false,
  4. Widget? emptyWidget,
  5. Axis axis = Axis.vertical,
  6. required Widget itemBuilder(
    1. BuildContext,
    2. dynamic item,
    3. int
    ),
  7. required PaginationController controller,
  8. SliverGridDelegate? gridDelegate,
})

Implementation

const PaginationWidget({
  Key? key,
  this.bottomLoader,
  this.isGridView = false,
  this.emptyWidget,
  this.axis = Axis.vertical,
  required this.itemBuilder,
  required this.controller,
  this.gridDelegate,
})  : assert(isGridView ? gridDelegate != null : true),
      super(key: key);