>{

TargetPlatform

android

FadeUpwardsPageTransitionsBuilder

(),

// Apply this to every platforms you need.

},

),

),

If you want to apply the same page transition builder to all platforms:

MaterialApp

theme:

ThemeData

pageTransitionsTheme:

PageTransitionsTheme

builders:

Map

TargetPlatform

PageTransitionsBuilder

fromIterable

TargetPlatform

values

value:

dynamic

const

FadeUpwardsPageTransitionsBuilder

(),

),

),

),

Tests migration