I'm trying to make a list on my flutter app. But, Every time I scroll all the way to the top there is this animation showing up like this:
https://i.stack.imgur.com/Z7mHh.jpg, https://i.stack.imgur.com/EAIyj.jpg
Is there a way to hide this animation?
I can scroll through mouse. I would like to totally disable the scrollbar. Solved! Go to Solution. 03-13-2019 01:18 PM Yes, you can disable the scrollbar (or make it not visible), but if the Gallery has more items in it than it can display in the Height of the Gallery, then it will scroll.
You can solve this problem using two methods. if you can afford bounce back effect then simply use ListView.builder 's property physics and set value BouncingScrollPhysics () like this: you can also solve it using ScrollConfiguration and custom ScrollBehavior.
if you can afford bounce back effect then simply use ListView.builder 's property physics and set value BouncingScrollPhysics () like this: you can also solve it using ScrollConfiguration and custom ScrollBehavior. See for this post for details. physics: BouncingScrollPhysics () solution does not work with ScrollablePositionedList.builder.
As we learned in the great CSS specificity battle, @keyframes have an amazing ability to override anything while they are active. Let’s use them not to animate the opening, but just for this scrollbar-hiding functionality: That does the trick!
This will help you just add this in your Listview.builder
physics: ClampingScrollPhysics(),
You can solve this problem using two methods.
if you can afford bounce back effect then simply use ListView.builder
's property physics
and set value BouncingScrollPhysics()
like this:
physics: BouncingScrollPhysics()
you can also solve it using ScrollConfiguration
and custom ScrollBehavior
.
See for this post for details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With