LiquidPullToRefresh constructor

const LiquidPullToRefresh({
  1. Key? key,
  2. double animSpeedFactor = 1.0,
  3. required Widget child,
  4. required RefreshCallback onRefresh,
  5. Color? color,
  6. Color? backgroundColor,
  7. double? height,
  8. int springAnimationDurationInMilliseconds = 1000,
  9. double borderWidth = 2.0,
  10. bool showChildOpacityTransition = true,
})

Implementation

const LiquidPullToRefresh({
  Key? key,
  this.animSpeedFactor = 1.0,
  required this.child,
  required this.onRefresh,
  this.color,
  this.backgroundColor,
  this.height,
  this.springAnimationDurationInMilliseconds = 1000,
  this.borderWidth = 2.0,
  this.showChildOpacityTransition = true,
})  : assert(animSpeedFactor >= 1.0),
      super(key: key);