StateBuilder<T> constructor

const StateBuilder<T>({
  1. Key? key,
  2. required T initialValue,
  3. void onDispose()?,
  4. void onUpdate(
    1. T
    )?,
  5. required StateBuilderBuilder<T> builder,
})

Implementation

const StateBuilder({
  Key? key,
  required this.initialValue,
  this.onDispose,
  this.onUpdate,
  required this.builder,
}) : super(key: key);