NestedNavigator constructor

const NestedNavigator({
  1. String? pathPrefix,
  2. required Widget wrapper(
    1. Widget nav
    ),
  3. required List<RouteInfo>? children,
  4. required Key key,
  5. GlobalKey<NavigatorState>? navigatorKey,
})

Implementation

const NestedNavigator({
  String? pathPrefix,
  required this.wrapper,
  required super.children,
  required this.key,
  this.navigatorKey,
}) : super(
        path: pathPrefix ?? "/",
        page: String,
        transition: null,
      );