BaseAppRoot constructor

BaseAppRoot({
  1. required AppConfig config,
  2. Key? key,
})

Implementation

BaseAppRoot({
  required this.config,
  Key? key,
})  : _delegate = RouterStackDelegate(config),
      super(key: key) {
  NavigatorKit.instance.delegate = _delegate;
  RouteKit.instance.delegate = _delegate;
}