Skip to content
pubscout

page_transition

2.2.2, released 6 months ago by yasinilhan.com

Flutter package that provides customizable page transitions with an easy-to-use API.

WASM-ready
$ flutter pub add page_transition
Source repository

What it does

Provides a variety of customizable page transition animations such as fade, slide, and scale. Supports integration with standard Navigator as well as routing packages like GoRouter and AutoRoute. It includes extensions for context-based navigation and handles custom durations, curves, and iOS swipe-back gestures.

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

Use it when

  • You want custom, smooth page transition animations without writing custom PageRouteBuilder boilerplate
  • You are using GoRouter, AutoRoute, or standard Navigator and need custom page transition effects

Skip it when

  • You rely completely on native platform transitions and have no need for customized animations

Strengths

  • Wide variety of transition types including Material 3 shared axis transitions
  • Convenient context extensions for clean navigation code
  • Compatible with GoRouter and AutoRoute

Weaknesses

  • iOS swipe back gesture only works with rightToLeft and fade transitions
  • Adds overhead to routing configuration if deep customization isn't required

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
context.pushTransition(
  type: PageTransitionType.fade,
  child: DetailScreen(),
);

Alternatives

Packages that do the same job and could replace page_transition.

Works with

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