Skip to content
pubscout

real_page_flip

3.2.3, released 10 days ago by sharebible.org

A 2.5D page flip engine with physics-based paper fold, shadows, sound and haptic feedback.

WASM-ready
$ flutter pub add real_page_flip
Source repository

What it does

Provides a high-performance page-flip engine for Flutter supporting single-page views and two-page spreads. It features physics-based paper curling, shadows, audio effects, haptics, and accessibility support across all 6 Flutter platforms.

AI-written summary of version 3.2.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Building an ebook reader, magazine app, or book-like interface in Flutter
  • You need realistic physics-based page turns with haptic feedback and sound

Skip it when

  • You require complex full 3D mesh simulations rather than a 2.5D page turn approximation
  • You only need standard linear scrolling or slide transitions

Strengths

  • Extensively tested with over 1,500 tests and zero analyzer issues
  • Supports all six Flutter platforms (Android, iOS, Web, Windows, macOS, Linux)
  • Includes intelligent memory windowing to maintain a constant memory footprint regardless of book length

Weaknesses

  • Desktop platforms lack built-in default sound, requiring a custom sound player implementation
  • Renders as a 2.5D approximation (path clipping plus textured mesh) rather than a true 3D paper simulation

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
1

Requires Flutter 3.44 or newer. Audio and haptic features work out of the box on mobile and web, but desktop requires providing a custom PageFlipSoundPlayer.

import 'package:real_page_flip/real_page_flip.dart';

PageFlipWidget(
  itemCount: 10,
  itemBuilder: (context, index) => MyPage(index),
)

Alternatives

Packages that do the same job and could replace real_page_flip.

Works with

Packages commonly used together with real_page_flip: ones it builds on, ones built on it, and its own family.