book_page_flip
0.1.0, released 5 months ago by an unverified publisher
A 3D book page-turn widget with realistic page curl and shadows.
What it does
Provides a widget that displays content as an open book with pages that curl in 3D when dragged or animated. Supports building pages from widgets or decoded images, with customizable paper materials and effects.
AI-written summary of version 0.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to display a book, magazine, or photo album interface with realistic page turning.
- You need to turn pages via drag gestures or programmatically from code.
Skip it when
- You only need a simple linear list or standard page view without book-style 3D page curls.
- You have an odd number of pages and cannot accommodate two-page spreads.
Strengths
- True 3D page curl on a real mesh with shadows and lighting effects.
- Easily builds pages from standard Flutter widgets or images using BookFlip.builder.
- Cross-platform support across all 6 Flutter platforms.
Weaknesses
- Requires an even page count for optimal two-page spread viewing.
- Pages must be presented two at a time.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
BookFlip.builder(
pageCount: 6,
pageSize: const Size(360, 500),
pageBuilder: (context, index) => ColoredBox(
color: Colors.primaries[index % Colors.primaries.length],
child: Center(
child: Text(
'Page ${index + 1}',
style: const TextStyle(fontSize: 48, color: Colors.white),
),
),
),
)Alternatives
Packages that do the same job and could replace book_page_flip.
- flip_card_swiper
Swipeable card stack widget with flip animations and optional haptics.
76Compare - tab_overview
Tab switcher with live thumbnails in a grid, zoom transitions, and drag-and-drop reordering.
73Compare - simple_shadow
Customizable drop shadow widget for any child
45Compare - flutter_chen_refresh
A Flutter refresh library for pull-down refresh and pull-up load with customizable indicators.
54Compare
Works with
Packages commonly used together with book_page_flip: ones it builds on, ones built on it, and its own family.