ShellRoute constructor

ShellRoute({
  1. required Widget shellBuilder(
    1. BuildContext context,
    2. ShellController controller,
    3. Widget child
    ),
  2. required List<HyperRoute<RouteValue>> tabs,
  3. RouteKey? key,
})

Implementation

ShellRoute({
  required this.shellBuilder,
  required this.tabs,

  /// Usually, you don't need to provide this. Use this for
  /// [ShellCoveringRoute]
  RouteKey? key,
})  : key = key ?? RouteKey(),
      super(children: tabs);