PageConfiguration constructor

PageConfiguration({
  1. LocalKey? key,
  2. required String path,
  3. required Widget child,
  4. 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));