LAsyncView<T> constructor
const
LAsyncView<T> ({
- Key? key,
- Future<
T> resolver(- BuildContext context
- Widget builder(
- BuildContext context,
- T controller
- bool autoWatch = true,
- Widget loading(
- BuildContext context
- Widget error(
- BuildContext context,
- Object error
- List<
Object?> ? args,
Creates an async view.
Implementation
const LAsyncView({
super.key,
this.resolver,
this.builder,
this.autoWatch = true,
this.loading,
this.error,
this.args,
});