Skip to content
pubscout

turn_page_transition

0.5.0, released a year ago by shoryu.dev

Provides a simple page-turning transition effect for page routes and page views.

WASM-ready
$ flutter pub add turn_page_transition
Source repository

What it does

The package offers a page-turning animation effect that can be used as a custom PageRoute, integrated into ThemeData for global transitions, applied via GoRoute's custom transition page, or used as a TurnPageView widget.

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

Use it when

  • You want to add book-like page-turning animations to your app routes or page views.
  • You want to integrate a page-turning transition with GoRouter or custom navigators.

Skip it when

  • You require standard platform-native page transitions without custom book effects.

Strengths

  • Easy to integrate with standard Navigator, GoRouter, or ThemeData.
  • Includes both transition routes and a dedicated TurnPageView widget.
  • Provides customizable properties like overleaf color, direction, and stroke styling.

Weaknesses

  • Niche animation style that may not fit most modern UI design systems.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
Navigator.of(context).push(
  TurnPageRoute(
    overleafColor: Colors.grey,
    animationTransitionPoint: 0.5,
    transitionDuration: const Duration(milliseconds: 300),
    reverseTransitionDuration: const Duration(milliseconds: 300),
    builder: (context) => const FirstPage(),
  ),
);

Alternatives

Packages that do the same job and could replace turn_page_transition.

  • page_transition

    Provides a large collection of standard transition animations rather than just a page-turn effect.

  • flutter_animate

    Offers a general-purpose, fluent API for animating widgets rather than specialized page routes.