AsyncNotifierListener<N extends BaseNotifier<BaseAsyncState<S> > , S extends Object?> constructor
const
AsyncNotifierListener<N extends BaseNotifier<BaseAsyncState<S> > , S extends Object?> ({
- required Widget child,
- required void listener(
- BaseAsyncState<
S> state
- BaseAsyncState<
- ShouldProceedCallback<
BaseAsyncState< ? listenWhen,S> > - void onInit(
- N notifier
- Key? key,
Creates an AsyncNotifierListener.
Implementation
const AsyncNotifierListener({
required super.child,
required super.listener,
super.listenWhen,
super.onInit,
super.key,
});