Loader<T> constructor
const
Loader<T> ({
- Key? key,
- required LoaderCallback<
T> load, - bool autoReload = true,
- WidgetValueBuilder<
T> ? builder, - Widget? loadingWidget,
- Widget errorBuilder(
- String error
Implementation
const Loader({
Key? key,
required this.load,
this.autoReload = true,
this.builder,
this.loadingWidget,
this.errorBuilder,
}) : super(key: key);