notifyScrollEnd method
Animates alignment of the appbar by a given scroll position and the alignment behavior of the current behavior.
Implementation
bool notifyScrollEnd(NestedScrollPosition scroll) {
final alignment = behavior.align(this, scroll);
if (alignment != null) {
performAlignment(alignment);
return true;
}
return false;
}