PageConfiguration constructor
PageConfiguration({
- LocalKey? key,
- required String path,
- required Widget child,
- PageParameter pageParameter = const PageParameter(),
Implementation
PageConfiguration(
{LocalKey? key,
required this.path,
required this.child,
this.pageParameter = const PageParameter()})
: key = key ??
((child.key is LocalKey)
? child.key as LocalKey
: ObjectKey(child));