ActionStatusIndicator<T> constructor

const ActionStatusIndicator<T>({
  1. Key? key,
  2. required OnActionCallback<T> action,
  3. required SuccessCallback<T> onSuccess,
  4. ErrorCallback? onError,
  5. Widget? errorTitle,
  6. Widget? errorContent,
  7. Widget? errorButton,
  8. Widget? loadingChild,
})

Implementation

const ActionStatusIndicator({
  super.key,
  required this.action,
  required this.onSuccess,
  this.onError,
  this.errorTitle,
  this.errorContent,
  this.errorButton,
  this.loadingChild,
});