NoTransitionPage<T> constructor

const NoTransitionPage<T>({
  1. required Widget child,
  2. String? name,
  3. Object? arguments,
  4. String? restorationId,
  5. LocalKey? key,
})

Constructor for a page with no transition functionality.

Implementation

const NoTransitionPage({
  required super.child,
  super.name,
  super.arguments,
  super.restorationId,
  super.key,
}) : super(
        transitionsBuilder: _transitionsBuilder,
        transitionDuration: Duration.zero,
        reverseTransitionDuration: Duration.zero,
      );