snapx_scroll_physics 1.0.1 copy "snapx_scroll_physics: ^1.0.1" to clipboard
snapx_scroll_physics: ^1.0.1 copied to clipboard

Implement physical sliding adsorption feature.

Features #

example

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)
);

3
likes
140
points
112
downloads

Publisher

unverified uploader

Weekly Downloads

Implement physical sliding adsorption feature.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on snapx_scroll_physics