exprollable_page_view
1.0.3, released 2 years ago by norelease.dev
A PageView widget that expands or shrinks its pages dynamically while scrolling vertically.
What it does
Provides an alternative PageView widget that clones the modal sheet UI found in the Apple Books app. As users scroll vertically inside a page, the viewport dynamically scales and shrinks or expands, allowing for full-screen transitions and fluid page swiping.
AI-written summary of version 1.0.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to replicate the Apple Books details modal sheet UI in your Flutter app.
- You need a PageView where individual pages expand and collapse based on vertical scroll position.
- You want smooth page transitions combined with custom snap insets and overshoot effects.
Skip it when
- You need standard horizontal page-flipping without any vertical sizing behavior.
- You require robust mouse wheel scrolling support on web for this specific widget.
Strengths
- Provides a unique and polished UI experience similar to native iOS Apple Books.
- Highly customizable viewport fractions, insets, and snap points through ViewportConfiguration.
- Supports custom scroll controllers and hero animations.
Weaknesses
- Mouse wheel scrolling is not currently supported on the web platform.
- Requires specific usage of `PageContentScrollController.of(context)` for inner scrollables.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
ExprollablePageView(
itemCount: 5,
itemBuilder: (context, page) {
return ListView.builder(
controller: PageContentScrollController.of(context),
itemBuilder: (context, index) {
return ListTile(title: Text('Item#$index'));
},
);
},
)Alternatives
Packages that do the same job and could replace exprollable_page_view.
- two_dimensional_scrollables
Widgets for two‑dimensional scrolling like TableView and TreeView
94Compare - expandable_page_view
A PageView widget that automatically adjusts its height to the currently displayed page.
88Compare - sliver_expandable
A Sliver Flutter widget that expands or collapses another child Sliver widget.
47Compare - another_transformer_page_view
A PageView widget for Flutter supporting custom page transformers and animations.
50Compare