snapx_scroll_physics 1.0.0 snapx_scroll_physics: ^1.0.0 copied to clipboard
实现物理滑动吸附功能.
Features #
Getting started #
This is a product that easily achieves sliding adsorption effect, it is realized by custom ScrollPhysics, you will like it.
Usage #
It can be used in any sliding control that supports physics parameters, and it is very simple to use.
// ListView
ListView(
physics: const SnapScrollPhysics(snapHeight: 250)
);
// CustomScrollView
CustomScrollView(
physics: const SnapScrollPhysics(snapHeight: 250)
);