Albert Chang
02/25/2021, 10:25 AMFlingBehavior
makes the code much better. However, as performFling()
will not be called if there is no fling velocity, I can't figure out a way to snap to a page in that case. Is there any other way to correctly implement this behavior (Modifier.swipeable
doesn't seem to fit)? If there is no, I think it's reasonable to call performFling()
even if there is no fling velocity.Albert Chang
02/25/2021, 10:26 AMmatvei
02/25/2021, 11:30 AMAdam Powell
02/25/2021, 2:54 PMAlbert Chang
02/26/2021, 1:08 AM