LView<T> constructor

const LView<T>({
  1. Key? key,
  2. T? resolver(
    1. BuildContext context
    )?,
  3. Widget builder(
    1. BuildContext context,
    2. T controller
    )?,
  4. Widget orElse(
    1. BuildContext context
    )?,
  5. bool autoWatch = true,
  6. List<Object?>? args,
})

Creates a view with a dependency factory and a builder.

Implementation

const LView({
  super.key,
  this.resolver,
  this.builder,
  this.orElse,
  this.autoWatch = true,
  this.args,
});