snappy_list_view 0.0.2 copy "snappy_list_view: ^0.0.2" to clipboard
snappy_list_view: ^0.0.2 copied to clipboard

outdated

Add snap to your ListView, while supporting dynamic item sizes.

pub package

SnappyListView provides you with everything to make your list snap to each element - essentially like a PageView widget, but while displaying every element in a list format. This means that this widget also enables you to have different sizes of items. Main features include:

  • Different and variable sizes of items in both scroll- and orthogonal direction size
  • Snapping to each item
  • Configurable overscroll snapping physics (overscroll multiple pages when high velocity)
  • List visualisation (customize or choose out of a range functions, such as wheel, carousel, or perspective)
  • Simply use a PageController to get feedback and control your list

Important Note: This widget behaves just like a PageView widget. Meaning that any usage in a Column, Stack or else where equals the usage of a PageView.

Features #

This is a beta version of this plugin, no visual features are yet available

Usage #

SnappyListView(
  itemCount: Colors.accents.length,
  itemBuilder: (context, index) {
    return Container(
        height: 100,
        color: Colors.accents.elementAt(index),
        child: Text("Index: $index"),
    ),
);
copied to clipboard

Tip: full interactive example in ./example folder.

Additional information #

Contributions are very welcome and are merged after testing within hours.

19
likes
0
points
794
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.27 - 2025.04.11

Add snap to your ListView, while supporting dynamic item sizes.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, matrix4_transform, scrollable_positioned_list, vector_math

More

Packages that depend on snappy_list_view