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<
- bool listenWhen(
- BaseAsyncState<
S> previous, - BaseAsyncState<
S> current
- BaseAsyncState<
- N notifier()?,
- void onInit(
- N notifier
- Key? key,
Creates an AsyncNotifierListener.
Implementation
const AsyncNotifierListener({
required super.child,
required super.listener,
super.listenWhen,
super.notifier,
super.onInit,
super.key,
});