PaginationWidget constructor
const
PaginationWidget({
- Key? key,
- Widget? bottomLoader,
- bool isGridView = false,
- Widget? emptyWidget,
- Axis axis = Axis.vertical,
- required Widget itemBuilder(
- BuildContext,
- dynamic item,
- int
- required PaginationController controller,
- 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);