updateOnRefresh method
Implementation
PullableConfig updateOnRefresh(Future<void> Function()? newOnRefresh) {
return PullableConfig(
enablePullDown: enablePullDown,
enablePullUp: enablePullUp,
physics: physics,
onRefresh: newOnRefresh ?? onRefresh,
onLoading: onLoading,
headerType: headerType,
customHeader: customHeader,
customFooter: customFooter,
refreshCompleteDelay: refreshCompleteDelay,
loadCompleteDelay: loadCompleteDelay,
enableOverScroll: enableOverScroll,
cacheExtent: cacheExtent,
semanticChildCount: semanticChildCount,
dragStartBehavior: dragStartBehavior,
);
}