I used this logic for animation. Is it possible to simplify this logic?
SliverAppBar FlexibleSpaceBar
void _positionListener() { fin