PageTransition constructor

PageTransition({
  1. required Widget transitionsBuilder(
    1. BuildContext context,
    2. Animation<double> animation,
    3. Animation<double> secondaryAnimation,
    4. Widget child,
    )?,
  2. Duration transitionDuration = const Duration(milliseconds: 300),
  3. Duration reverseTransitionDuration = const Duration(milliseconds: 300),
})

Implementation

PageTransition(
    {required this.transitionsBuilder,
    this.transitionDuration = const Duration(milliseconds: 300),
    this.reverseTransitionDuration = const Duration(milliseconds: 300)});