snap property

bool snap
final

If snap and floating are true then the floating app bar will "snap" into view.

If snap is true then a scroll that exposes the floating app bar will trigger an animation that slides the entire app bar into view. Similarly if a scroll dismisses the app bar, the animation will slide the app bar completely out of view.

Snapping only applies when the app bar is floating, not when the appbar appears at the top of its scroll view.

Implementation

final bool snap