SliverFloatingHeader constructor

const SliverFloatingHeader({
  1. Key? key,
  2. AnimationStyle? animationStyle,
  3. FloatingHeaderSnapMode? snapMode,
  4. required Widget child,
})

Create a floating header sliver that animates into view when the user scrolls forward, and disappears the user starts scrolling in the opposite direction.

Implementation

const SliverFloatingHeader({super.key, this.animationStyle, this.snapMode, required this.child});