DuckShell constructor

const DuckShell({
  1. required List<Location> children,
  2. required GlobalKey<DuckShellState> key,
  3. required DuckRouterConfiguration configuration,
})

The DuckShell is a Widget that manages state for a StatefulLocation. It allows switching between the children of that location.

Implementation

const DuckShell({
  required this.children,
  required GlobalKey<DuckShellState> key,
  required this.configuration,
}) : super(key: key);