overflow_page_view

style: effective dart

A page view that displays as many fully visible items as it can in a list before beginning to do the same on the next page.

Demo Gif

Usage

Think of it like a ListView.builder(..) that gets displayed as pages.

OverflowPageView(
  itemBuilder: (context, index) {
    print('Building item for index: $index')
    return Container(
      height: 32,
      child: Center(
        child: Text('Item $index'),
      ),
    ),
  },
),

Libraries

overflow_page_view