BaseRefresh constructor
const
BaseRefresh({
- Key? key,
- required BaseRefreshController controller,
- ScrollController? scrollController,
- Widget? header,
- bool firstRefresh = false,
- Widget? firstRefreshWidget,
- VoidCallback? onRefresh,
- VoidCallback? onLoading,
- Widget? emptyWidget,
- 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);