SPHDelegate.same constructor

SPHDelegate.same({
  1. Widget? background,
  2. required ChildBuild child,
  3. Widget? unfoldChild,
  4. required dynamic extent,
})

高度 最大/最小相同

Implementation

SPHDelegate.same({
  this.background,
  required this.child,
  this.unfoldChild,
  required extent,
})   : this.maxOfExtent = extent,
      this.minOfExtent = extent,
      this.heightRatio = 1;