StoreBuilder<S> constructor

const StoreBuilder<S>({
  1. Key? key,
  2. required ViewModelBuilder<Store<S>> builder,
  3. OnInitCallback<S>? onInit,
  4. OnDisposeCallback<S>? onDispose,
  5. bool rebuildOnChange = true,
  6. OnWillChangeCallback<Store<S>>? onWillChange,
  7. OnDidChangeCallback<Store<S>>? onDidChange,
  8. OnInitialBuildCallback<Store<S>>? onInitialBuild,
})

Create's a Widget based on the Store.

Implementation

const StoreBuilder({
  Key? key,
  required this.builder,
  this.onInit,
  this.onDispose,
  this.rebuildOnChange = true,
  this.onWillChange,
  this.onDidChange,
  this.onInitialBuild,
}) : super(key: key);