CupertinoPageTransition constructor

const CupertinoPageTransition({
  1. Key? key,
  2. required Animation<double> primaryRouteAnimation,
  3. required Animation<double> secondaryRouteAnimation,
  4. required Widget child,
  5. required bool linearTransition,
})

Creates an iOS-style page transition.

Implementation

const CupertinoPageTransition({
  super.key,
  required this.primaryRouteAnimation,
  required this.secondaryRouteAnimation,
  required this.child,
  required this.linearTransition,
});