SmartPaginationController<T> constructor

SmartPaginationController<T>({
  1. required SmartPaginationCubit<T> cubit,
  2. bool isPublic = false,
  3. double estimatedItemHeight = 60.0,
  4. Duration animationDuration = const Duration(milliseconds: 500),
  5. Curve animationCurve = Curves.easeInOut,
  6. int maxRetries = 10,
  7. List<IPaginationRefreshedChangeListener>? refreshListeners,
  8. List<IPaginationFilterChangeListener<T>>? filterListeners,
  9. List<IPaginationOrderChangeListener<T>>? orderListeners,
})

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;