stacked_page_view 1.1.2 copy "stacked_page_view: ^1.1.2" to clipboard
stacked_page_view: ^1.1.2 copied to clipboard

A flutter plugin to help create a vertical caraousel. This package is very lightweight as the actual code iteself is like 109 lines

Stacked Page View! #

flutter dart

pub.dev/stacked_page_view #

Hi! This package will create stacked page view in your flutter app. it's as lightweight as it can get⚡⚡ .

  • Just wrap it between your PageView builder and the iterable children like the code below.
PageView.builder(
        itemCount: 10,
        scrollDirection: Axis.vertical,
        controller: pageController,
        itemBuilder: (context, index) {
          return StackPageView(
            controller: pageController,
            index: index,
            child: Container(
              color: (colors..shuffle()).first,
              child: Center(
                child: Text(
                  '$index',
                  style: TextStyle(
                    color: Colors.white,
                    fontSize: 25,
                  ),
                ),
              ),
            ),
          );
        },
      )

example gif

23
likes
150
pub points
73%
popularity

Publisher

unverified uploader

A flutter plugin to help create a vertical caraousel. This package is very lightweight as the actual code iteself is like 109 lines

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on stacked_page_view