CupertinoFullscreenDialogTransitionModifier constructor
const
CupertinoFullscreenDialogTransitionModifier({})
Creates an iOS-style transition used for summoning fullscreen dialogs.
primaryRouteAnimationis a linear route animation from 0.0 to 1.0 when this screen is being pushed.secondaryRouteAnimationis a linear route animation from 0.0 to 1.0 when another screen is being pushed on top of this one.linearTransitionis 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,
});