AutoRouter constructor
const
AutoRouter({
- Key? key,
- Widget builder(
- BuildContext context,
- Widget content
- WidgetBuilder? placeholder,
- Clip clipBehavior = Clip.hardEdge,
- TraversalEdgeBehavior? traversalEdgeBehavior,
Default constructor
Implementation
const AutoRouter({
super.key,
this.navigatorObservers = AutoRouterDelegate.defaultNavigatorObserversBuilder,
this.builder,
this.navRestorationScopeId,
this.navigatorKey,
this.inheritNavigatorObservers = true,
this.placeholder,
this.clipBehavior = Clip.hardEdge,
this.traversalEdgeBehavior,
});