LLApp.router constructor
const
LLApp.router({
- required ProviderListenable<
AsyncValue< initAppProvider,void> > - required ProviderBase<
RouterConfig< routerProvider,Object> > - required VoidCallback onInitAppRetry,
- Iterable<
Locale> supportedLocales = const [], - Iterable<
LocalizationsDelegate> localizationsDelegates = const [], - ThemeData? theme,
- Key? key,
Implementation
const LLApp.router({
required this.initAppProvider,
required ProviderBase<RouterConfig<Object>> this._routerProvider,
required this.onInitAppRetry,
this.supportedLocales = const [],
this.localizationsDelegates = const [],
this.theme,
super.key,
}) : loadingBuilder = defaultLoadingBuilder,
errorBuilder = defaultErrorBuilder,
_appBuilder = null;