NestedRouter constructor

const NestedRouter({
  1. Key? key,
  2. NavigatorObserversBuilder navigatorObservers = NestedRouterDelegate.defaultNavigatorObserversBuilder,
  3. Widget builder(
    1. BuildContext context,
    2. Widget content
    )?,
  4. String? navRestorationScopeId,
  5. GlobalKey<NavigatorState>? navigatorKey,
  6. bool inheritNavigatorObservers = true,
  7. WidgetBuilder? placeholder,
})

Implementation

const NestedRouter({
  Key? key,
  this.navigatorObservers =
      NestedRouterDelegate.defaultNavigatorObserversBuilder,
  this.builder,
  this.navRestorationScopeId,
  this.navigatorKey,
  this.inheritNavigatorObservers = true,
  this.placeholder,
}) : super(key: key);