PathNavigationScreen constructor
const
PathNavigationScreen({
- Key? key,
- PathModel? pathModel,
- EncodedPathModel? encodedPathModel,
Creates a navigation screen for either pathModel or encodedPathModel.
Exactly one of the two inputs must be provided.
Implementation
const PathNavigationScreen({super.key, this.pathModel, this.encodedPathModel})
: assert(
(pathModel != null) != (encodedPathModel != null),
'Provide exactly one of pathModel or encodedPathModel.',
);