LyFormListener<T extends LyForm<D, E> , D, E> constructor
const
LyFormListener<T extends LyForm<D, E> , D, E> ({
- Key? key,
- required Widget child,
- T? bloc,
- void onPure()?,
- void onValid()?,
- void onInvalid()?,
- void onLoading()?,
- void onSuccess(
- D data
- void onError(
- E error
- void onAll(
- LyFormState<
D, E>
- LyFormState<
Implementation
const LyFormListener({
super.key,
required this.child,
this.bloc,
this.onPure,
this.onValid,
this.onInvalid,
this.onLoading,
this.onSuccess,
this.onError,
this.onAll,
});