physics property
Types of Physics supported by InfiniteCarousel.
InfiniteScrollPhysics, which makes sure we always land on a particular item after scrolling. This is the
default
physics for InfiniteCarousel.
PageViewTypeScrollPhysics, which behaves like Flutter's PageView physics. This disables friction effect and allows the user to land on the next item only most of the time, instead of the free-hand scrolling that is provided with the default InfiniteScrollPhysics.
Implementation
final ScrollPhysics? physics;