NomoNavigator constructor
const
NomoNavigator({
- Key? key,
- required Widget child,
- required NomoRouterDelegate delegate,
- PageTransition defaultModalTransistion = const PageFadeTransition(),
- PageTransition defaultTransistion = const PageFadeThroughTransition(),
- Duration defaultTransitionDuration = const Duration(milliseconds: 240),
- Duration defaultModalTransitionDuration = const Duration(milliseconds: 200),
Implementation
const NomoNavigator({
super.key,
required super.child,
required NomoRouterDelegate delegate,
this.defaultModalTransistion = const PageFadeTransition(),
this.defaultTransistion = const PageFadeThroughTransition(),
this.defaultTransitionDuration = const Duration(milliseconds: 240),
this.defaultModalTransitionDuration = const Duration(milliseconds: 200),
}) : _delegate = delegate;