xLiquidPullToRefresh method
Implementation
Widget xLiquidPullToRefresh({
@required Future<void> Function() onRefresh,
Color color,
Color backgroundColor,
bool Function(ScrollNotification) notificationPredicate =
defaultScrollNotificationPredicate,
double height,
int springAnimationDurationInMilliseconds = 1000,
double borderWidth = 2.0,
bool showChildOpacityTransition = true,
ScrollController scrollController,
Key key,
}) {
return XLiquidPullToRefresh(
onRefresh: onRefresh,
backgroundColor: backgroundColor,
borderWidth: borderWidth,
color: color,
height: height,
key: key,
notificationPredicate: notificationPredicate,
scrollController: scrollController,
showChildOpacityTransition: showChildOpacityTransition,
springAnimationDurationInMilliseconds:
springAnimationDurationInMilliseconds,
child: this,
);
}