CupertinoFullscreenDialogTransitionModifier constructor
const
CupertinoFullscreenDialogTransitionModifier({})
Creates an iOS-style transition used for summoning fullscreen dialogs.
primaryRouteAnimation
is a linear route animation from 0.0 to 1.0 when this screen is being pushed.secondaryRouteAnimation
is a linear route animation from 0.0 to 1.0 when another screen is being pushed on top of this one.linearTransition
is whether to perform the secondary transition linearly. Used to precisely track back gesture drags.
Implementation
const CupertinoFullscreenDialogTransitionModifier({
super.key,
super.child,
super.modifierKey,
required this.primaryRouteAnimation,
required this.secondaryRouteAnimation,
required this.linearTransition,
});