I'm using a ScrollController
for a SingleChildScrollView
widget where I want to detect scroll start, scroll end/stop and still scrolling.
How can I detect this?
I'm using Listener
scrollController = ScrollController()
..addListener(() {
scrollOffset = _scrollController.offset;
});
Also try with _scrollController.position.activity.velocity
but didn't help me.
Also there are
_scrollController.position.didEndScroll();
_scrollController.position.didStartScroll();
But how can I use it?