scrollable_inertia 0.0.1+1 copy "scrollable_inertia: ^0.0.1+1" to clipboard
scrollable_inertia: ^0.0.1+1 copied to clipboard

Customizable scrollable's animations to make your app stand out from the crowd.

scrollable_inertia #

MIT License

A set of easy to apply scroll list customizations to make your Flutter application stand out in the crowd.

Usage #

Each interia effect is based on Scrollable's (i.e. ListView, SingleChildScrollView, GridView, ...) ability to notify parent widgets about the current speed and axis of the current scroll action. InertiaListener is the widget that will pick up the information and pass it down to specific effects to apply the inertia-based animation.

Inertia-based spacing #

Make the list's items be affected by inertia of the scroll:

Inertia-based spacing demo

Wrap each child of the scrollable with the InertiaSpacing widget, e.g.:

InertiaListener(
  child: ListView.builder(
    itemBuilder: (_, __) => InertiaSpacing(
      child: YourListItem()
    ),
  ),
)...

Motion blur #

Make the list's items be affected by inertia of the scroll:

Motion blur demo

Wrap the whole scrollable with the MotionBlur, e.g.:

InertiaListener(
  child: MotionBlur(
    child: GridView.builder(...)
  ),
)...
5
likes
130
pub points
26%
popularity

Publisher

verified publisherwrbl.xyz

Customizable scrollable's animations to make your app stand out from the crowd.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #implicit-animation #widgets #scrollable

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on scrollable_inertia