LAsyncView<T> constructor

const LAsyncView<T>({
  1. Key? key,
  2. Future<T> resolver(
    1. BuildContext context
    )?,
  3. Widget builder(
    1. BuildContext context,
    2. T controller
    )?,
  4. bool autoWatch = true,
  5. Widget loading(
    1. BuildContext context
    )?,
  6. Widget error(
    1. BuildContext context,
    2. Object error
    )?,
  7. 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,
});