dispose method
void
dispose()
Disconnects scroll and resize observers and releases internal JS resources.
Call from an onUnmount callback when the scroll container is detached.
Implementation
void dispose() {
_unmount?.callAsFunction();
_unmount = null;
}