InitBuilder<T> constructor

InitBuilder<T>({
  1. Key? key,
  2. required ValueBuilderFn<T> builder,
  3. required ValueGetter<T> getter,
  4. ValueSetter<T>? disposer,
})

Factory constructor for a basic InitBuilder.

Implementation

factory InitBuilder({
  Key? key,
  required ValueBuilderFn<T> builder,
  required ValueGetter<T> getter,
  ValueSetter<T>? disposer,
}) =>
    _GetterInitBuilder<T>(
      key: key,
      builder: builder,
      getter: getter,
      disposer: disposer,
    );