StateBuilder<T> constructor

const StateBuilder<T>(
  1. T value,
  2. Widget builder(
    1. T value,
    2. StateBuilderState<T>
    ), {
  3. Key? key,
  4. ValueSetter<T>? onInit,
  5. void onPostInit(
    1. T value,
    2. StateBuilderState<T> setValue
    )?,
  6. ValueChanged<T>? onUpdate,
  7. ValueSetter<T>? onDispose,
  8. ValueSetter<T>? onPostDispose,
})

Implementation

const StateBuilder(
  this.value,
  this.builder, {
  super.key,
  this.onInit,
  this.onPostInit,
  this.onUpdate,
  this.onDispose,
  this.onPostDispose,
});