SnapAlignment.moveAcross constructor
SnapAlignment.moveAcross()
Moves the snap point slowly from start to end of list. The position changes based on the position of current page in itemCount. This behavior might be familiar from the AirBnB explorer list behavior.
Implementation
SnapAlignment.moveAcross()
: _parameters = ((item) => item.currentPage / (item.itemCount - 1));