snapConfiguration property Null safety
read / write
Defines the parameters used to snap (animate) the floating header in and out of view.
If snapConfiguration is null then the floating header does not snap.
See also:
- RenderSliverFloatingPersistentHeader.maybeStartSnapAnimation and RenderSliverFloatingPersistentHeader.maybeStopSnapAnimation, which start or stop the floating header's animation.
- SliverAppBar, which creates a header that can be pinned, floating, and snapped into view via the corresponding parameters.
Implementation
FloatingHeaderSnapConfiguration? snapConfiguration;