LScopedAsyncView<T> constructor

const LScopedAsyncView<T>({
  1. Key? key,
  2. LScopeDependencyFactory? dependencyFactory,
  3. Future<T> resolver(
    1. BuildContext context
    )?,
  4. Widget builder(
    1. BuildContext context,
    2. T controller
    )?,
  5. bool autoWatch = true,
  6. Widget loading(
    1. BuildContext context
    )?,
  7. Widget error(
    1. BuildContext context,
    2. Object error
    )?,
  8. List<Object?>? args,
  9. String? scopeName,
})

Implementation

const LScopedAsyncView({
  super.key,
  this.dependencyFactory,
  super.resolver,
  super.builder,
  super.autoWatch = true,
  super.loading,
  super.error,
  super.args,
  this.scopeName,
});