SliverPersistentHeaderBuilder constructor

SliverPersistentHeaderBuilder({
  1. double max = 0,
  2. double min = 0,
  3. double? height,
  4. required Widget builder(
    1. BuildContext context,
    2. double offset
    ),
})

Implementation

SliverPersistentHeaderBuilder({
  this.max = 0,
  this.min = 0,
  this.height,
  required this.builder,
}) : assert(max >= min);