SPHDelegate constructor

SPHDelegate({
  1. Widget? unfoldChild,
  2. Widget? background,
  3. ShowType? showType,
  4. required double maxOfExtent,
  5. required double minOfExtent,
  6. required ChildBuild child,
})

Implementation

SPHDelegate({
  this.unfoldChild,
  this.background,
  this.showType,
  required this.maxOfExtent,
  required this.minOfExtent,
  required this.child,
}) : this.heightRatio = 1 - (minOfExtent / maxOfExtent);