TransitionBuilderPage<T> constructor

const TransitionBuilderPage<T>({
  1. required Widget child,
  2. bool maintainState = true,
  3. bool fullscreenDialog = false,
  4. bool opaque = true,
  5. LocalKey? key,
  6. String? name,
  7. Object? arguments,
  8. String? restorationId,
})

Initialize a page that provides separate push and pop animations.

Implementation

const TransitionBuilderPage({
  required this.child,
  this.maintainState = true,
  this.fullscreenDialog = false,
  this.opaque = true,
  LocalKey? key,
  String? name,
  Object? arguments,
  String? restorationId,
}) : super(
        key: key,
        name: name,
        arguments: arguments,
        restorationId: restorationId,
      );