0

I am using CustomScrollView and A Listener to listen to the scrolling effect. And from this effect, I am changing the offset of my AppBar background.

But I figure out a problem if I then use it on a screen that has huge data on it on HomeScreen where it is scrolling. Scrolling gets slow and sometimes flickers.

I want to know if it is ok to use a listener on the scrollController or not.

Ali Jawad
  • 220
  • 10
Md. Al-Amin
  • 690
  • 3
  • 13
  • 1
    1. Make sure your appBar which going to change is separate stateful widget. 2. Don't use lot of logic in any of the build method or listener method as they run on main isolate. – Rahul Mar 19 '23 at 11:35

0 Answers0