snapMode property

FloatingHeaderSnapMode? snapMode
final

Specifies how a partially visible SliverFloatingHeader animates into a view when a user scroll gesture ends.

The default is FloatingHeaderSnapMode.overlay. This parameter doesn't modify an animation in progress, just subsequent animations.

Implementation

final FloatingHeaderSnapMode? snapMode;