CustomSmartRefresh<T extends PaginationMixin> constructor

const CustomSmartRefresh<T extends PaginationMixin>({
  1. Key? key,
  2. required T controller,
  3. EdgeInsetsGeometry? padding,
  4. bool initialRefresh = true,
  5. Widget? emptyWidget,
  6. required Widget child,
  7. Widget? header,
  8. Widget? footer,
  9. bool hasTopItem = false,
})

Implementation

const CustomSmartRefresh({
  super.key,
  required this.controller,
  this.padding,
  this.initialRefresh = true,
  this.emptyWidget,
  required this.child,
  this.header,
  this.footer,
  this.hasTopItem = false,
});