LStatusBuilder<T> constructor
const
LStatusBuilder<T> (
- LxReactive<
LxStatus< x, {T> > - Key? key,
- required Widget onSuccess(
- T data
- Widget onWaiting()?,
- Widget onError(
- Object error,
- StackTrace? stackTrace
- Widget onIdle()?,
Creates a status-aware builder.
Implementation
const LStatusBuilder(
this.x, {
super.key,
required this.onSuccess,
this.onWaiting,
this.onError,
this.onIdle,
});