BaseRefresh constructor

const BaseRefresh({
  1. Key? key,
  2. required BaseRefreshController controller,
  3. ScrollController? scrollController,
  4. Widget? header,
  5. bool firstRefresh = false,
  6. Widget? firstRefreshWidget,
  7. VoidCallback? onRefresh,
  8. Widget? footer,
  9. VoidCallback? onLoading,
  10. Widget? emptyWidget,
  11. Widget? child,
})

Implementation

const BaseRefresh(
    {Key? key,
    required this.controller,
    this.scrollController,
    this.header,
    this.firstRefresh = false,
    this.firstRefreshWidget,
    this.onRefresh,
    this.footer,
    this.onLoading,
    this.emptyWidget,
    this.child})
    : this.slivers = null,
      super(key: key);