NomoNavigator constructor

const NomoNavigator({
  1. Key? key,
  2. required Widget child,
  3. required NomoRouterDelegate delegate,
  4. PageTransition defaultModalTransistion = const PageFadeTransition(),
  5. PageTransition defaultTransistion = const PageFadeThroughTransition(),
  6. Duration defaultTransitionDuration = const Duration(milliseconds: 240),
  7. 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;