SPHDelegate.same constructor
SPHDelegate.same({
- Widget? background,
- required ChildBuild child,
- Widget? unfoldChild,
- required dynamic extent,
高度 最大/最小相同
Implementation
SPHDelegate.same({
this.background,
required this.child,
this.unfoldChild,
required extent,
}) : this.maxOfExtent = extent,
this.minOfExtent = extent,
this.heightRatio = 1;