App constructor
App({
- Key? key,
- required Iterable<
Module> modules, - required AppBuilder builder,
- bool? webPathUrls,
- Widget loading = const SizedBox.shrink(),
- AppErrorBuilder errorBuilder = _defaultErrorBuilder,
Creates an application that installs modules in declaration order.
Implementation
App({
super.key,
required this.modules,
required this.builder,
this.webPathUrls,
this.loading = const SizedBox.shrink(),
this.errorBuilder = _defaultErrorBuilder,
}) {
final pathUrls = webPathUrls;
if (pathUrls != null) _configureWebUrlStrategy(pathUrls);
}