ScalifySliverPersistentHeader constructor

const ScalifySliverPersistentHeader({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. double shrinkOffset,
    3. bool overlapsContent
    ),
  3. required double mobileMaxHeight,
  4. double? tabletMaxHeight,
  5. double? desktopMaxHeight,
  6. double? minHeight,
  7. bool pinned = true,
  8. bool floating = false,
})

Implementation

const ScalifySliverPersistentHeader({
  super.key,
  required this.builder,
  required this.mobileMaxHeight,
  this.tabletMaxHeight,
  this.desktopMaxHeight,
  this.minHeight,
  this.pinned = true,
  this.floating = false,
});