FastFadeTransitionPage constructor

FastFadeTransitionPage({
  1. required LocalKey? key,
  2. required Widget child,
})

Implementation

FastFadeTransitionPage({
  required super.key,
  required super.child,
}) : super(
        transitionsBuilder: (
          BuildContext context,
          Animation<double> animation,
          Animation<double> secondaryAnimation,
          Widget child,
        ) =>
            FadeTransition(
          opacity: animation.drive(_curveTween),
          child: child,
        ),
      );