ExtendedSliverPersistentHeader constructor

ExtendedSliverPersistentHeader({
  1. Key? key,
  2. bool pinned = true,
  3. bool floating = true,
  4. double? minHeight,
  5. double? maxHeight,
  6. required Widget child,
})

Implementation

ExtendedSliverPersistentHeader(
    {super.key,
    super.pinned = true,
    super.floating = true,
    this.minHeight,
    this.maxHeight,
    required this.child})
    : super(
          delegate: pinned
              ? _PinnedPersistentHeaderDelegate(
                  height: maxHeight, child: child)
              : _NoPinnedPersistentHeaderDelegate(
                  minHeight: minHeight, maxHeight: maxHeight, child: child));