RefreshPhysics constructor

RefreshPhysics({
  1. ScrollPhysics? parent,
  2. int? updateFlag,
  3. double? maxUnderScrollExtent,
  4. SpringDescription? springDescription,
  5. RefreshController? controller,
  6. double? dragSpeedRatio,
  7. double? topHitBoundary,
  8. double? bottomHitBoundary,
  9. bool? enableScrollWhenRefreshCompleted,
  10. bool? enableScrollWhenTwoLevel,
  11. double? maxOverScrollExtent,
})

Creates scroll physics that bounce back from the edge.

Implementation

RefreshPhysics(
    {ScrollPhysics? parent,
    this.updateFlag,
    this.maxUnderScrollExtent,
    this.springDescription,
    this.controller,
    this.dragSpeedRatio,
    this.topHitBoundary,
    this.bottomHitBoundary,
    this.enableScrollWhenRefreshCompleted,
    this.enableScrollWhenTwoLevel,
    this.maxOverScrollExtent})
    : super(parent: parent);