AsyncNotifierBuilder<N extends BaseNotifier<BaseAsyncState<S>>, S extends Object?> constructor

const AsyncNotifierBuilder<N extends BaseNotifier<BaseAsyncState<S>>, S extends Object?>({
  1. required Widget builder(
    1. BaseAsyncState<S> state
    ),
  2. bool buildWhen(
    1. BaseAsyncState<S> previous,
    2. BaseAsyncState<S> current
    )?,
  3. N notifier()?,
  4. void onInit(
    1. N notifier
    )?,
  5. Key? key,
})

Creates an AsyncNotifierBuilder.

Implementation

const AsyncNotifierBuilder({
  required super.builder,
  super.buildWhen,
  super.notifier,
  super.onInit,
  super.key,
});