SizeTransitionPage<T> constructor
const
SizeTransitionPage<T> ({
- required Widget child,
- Duration transitionDuration = const Duration(milliseconds: 350),
- Duration reverseTransitionDuration = const Duration(milliseconds: 250),
- bool maintainState = true,
- bool fullscreenDialog = false,
- bool opaque = true,
- bool barrierDismissible = false,
- Color? barrierColor,
- String? barrierLabel,
- LocalKey? key,
- String? name,
- Object? arguments,
- String? restorationId,
Constructor for a page with no transition functionality.
Implementation
const SizeTransitionPage({
required super.child,
super.transitionDuration = const Duration(milliseconds: 350),
super.reverseTransitionDuration = const Duration(milliseconds: 250),
super.maintainState = true,
super.fullscreenDialog = false,
super.opaque = true,
super.barrierDismissible = false,
super.barrierColor,
super.barrierLabel,
super.key,
super.name,
super.arguments,
super.restorationId,
}) : super(transitionsBuilder: _transitionsBuilder);