Specifies how a floating header is to be "snapped" (animated) into or out of view.
- 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.
- curve → Curve
The snap animation curve.
- duration → Duration
The snap animation's duration.
- vsync → TickerProvider
AnimationControllerthat causes a floating header to snap in or out of view.final
- hashCode → int
The hash code for this object. [...]
- runtimeType → Type
A representation of the runtime type of the object.