YSliverDelegate constructor

YSliverDelegate({
  1. required double minHeight,
  2. required double maxHeight,
  3. required Widget builder(
    1. BuildContext context,
    2. double shrinkOffset,
    3. bool overlapsContent
    ),
  4. Color bgColor = Colors.white,
})

Implementation

YSliverDelegate({
  required this.minHeight,
  required this.maxHeight,
  required this.builder,
  this.bgColor = Colors.white,
});