handleScrollNotification method
Implementation
bool handleScrollNotification(ScrollNotification notification) {
if (!_enableSynchronization || _isHandlingSync) {
return false;
}
if (notification is ScrollStartNotification) {
_lastScrollOffset = notification.metrics.pixels;
return false;
}
if (notification is ScrollUpdateNotification) {
return _handleScrollUpdate(notification);
}
return false;
}