ViewConfig<VM extends BaseViewModel<BaseModel, BaseEntity>>.noRoot constructor

ViewConfig<VM extends BaseViewModel<BaseModel, BaseEntity>>.noRoot(
  1. VM vm, {
  2. Widget? child,
  3. Color? color,
  4. bool load = true,
  5. bool checkEmpty = true,
  6. int? state,
  7. bool value = false,
  8. VSBuilder<VM>? busy,
  9. VSBuilder<VM>? empty,
  10. VSBuilder<VM>? error,
  11. VSBuilder<VM>? unAuthorized,
  12. bool? isStatusPage,
  13. dynamic root = false,
})

Implementation

ViewConfig.noRoot(
  this.vm, {
  this.child,
  this.color,
  this.load = true,
  this.checkEmpty = true,
  this.state,
  this.value = false,
  this.busy,
  this.empty,
  this.error,
  this.unAuthorized,
  this.isStatusPage,
  root = false,
}) {
  setViewState();
  vm.rootRefresh = root;
}