Skip to content
pubscout

go_transitions

0.8.4, released 3 months ago by branvier.com

Create, combine and apply custom page transitions to routes with GoRouter and Navigator.

WASM-ready
$ flutter pub add go_transitions
Source repository

What it does

Provides an easy way to create, combine, and apply page transitions for GoRouter and standard Flutter navigators. It supports customizable transitions such as fade, slide, rotate, scale, size, and platform-specific defaults.

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

Use it when

  • You are using GoRouter and want custom or combined page transitions easily.
  • You need to apply standard or custom transitions using a fluent syntax-sugar API.
  • You want to use transitions outside the router using Navigator.push with GoTransitionRoute.

Skip it when

  • You do not use GoRouter or standard navigation routes where this package applies.
  • You prefer writing custom TransitionBuilders manually from scratch without helper libraries.

Strengths

  • Simplifies complex route transition configurations into single-line or chained syntax.
  • Compatible with both GoRouter pageBuilder and standard Navigator pushes.
  • Provides built-in modifiers like withFade, withScale, and directional modifiers.

Weaknesses

  • Tied closely to GoRouter ecosystem conventions and dependencies.
  • Depends on specific GoRouter version ranges.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

No special native configuration or build_runner is required.

GoRoute(
  path: 'slide',
  builder: (_, __) => const HomePage(),
  pageBuilder: GoTransitions.slide.toRight.withFade,
);

Alternatives

Packages that do the same job and could replace go_transitions.

  • auto_route

    Auto_route offers robust declarative routing and deep-linking out of the box with its own built-in transition management.

Works with

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