SmartPaginationController<T> constructor
SmartPaginationController<T> ({
- required SmartPaginationCubit<
T> cubit, - bool isPublic = false,
- double estimatedItemHeight = 60.0,
- Duration animationDuration = const Duration(milliseconds: 500),
- Curve animationCurve = Curves.easeInOut,
- int maxRetries = 10,
- List<
IPaginationRefreshedChangeListener> ? refreshListeners, - List<
IPaginationFilterChangeListener< ? filterListeners,T> > - List<
IPaginationOrderChangeListener< ? orderListeners,T> >
Implementation
SmartPaginationController({
required SmartPaginationCubit<T> cubit,
this.isPublic = false,
this.estimatedItemHeight = 60.0,
this.animationDuration = const Duration(milliseconds: 500),
this.animationCurve = Curves.easeInOut,
this.maxRetries = 10,
this.refreshListeners,
this.filterListeners,
this.orderListeners,
}) : _cubit = cubit;