ZenRoute constructor
const
ZenRoute({})
Creates a ZenRoute widget.
The moduleBuilder
and page
parameters are required.
All other parameters provide fine-grained control over scope behavior.
Implementation
const ZenRoute({
super.key,
required this.moduleBuilder,
required this.page,
this.scopeName,
this.autoDispose,
this.onError,
this.loadingWidget,
bool? useParentScope, // nullable parameter
this.parentScope,
}) : useParentScope =
useParentScope ?? (parentScope != null);