LoadStatusWidget constructor
const
LoadStatusWidget({
- Key? key,
- required ValueListenable<
LoadStatus> status, - required Widget loadWidget(),
- Widget? child,
- Widget failWidget()?,
- Widget loadingWidget()?,
- Widget initialWidget()?,
- bool dismissFailed = true,
- bool dismissLoading = false,
- VoidCallback? onTryAgainButton,
Implementation
const LoadStatusWidget({
Key? key,
required this.status,
required this.loadWidget,
this.child,
this.failWidget,
this.loadingWidget,
this.initialWidget,
this.dismissFailed = true,
this.dismissLoading = false,
this.onTryAgainButton,
}) : super(key: key);