NyRouterOptions constructor

const NyRouterOptions({
  1. Widget notFoundPage = const PageNotFound(),
  2. bool handleNameNotFoundUI = false,
  3. bool isLoggingEnabled = false,
  4. Duration transitionDuration = const Duration(milliseconds: 300),
  5. GlobalKey<NavigatorState>? navigatorKey,
})

Implementation

const NyRouterOptions({
  this.notFoundPage = const PageNotFound(),
  this.handleNameNotFoundUI = false,
  this.isLoggingEnabled = false,
  this.transitionDuration = const Duration(milliseconds: 300),
  this.navigatorKey,
});