LoadContainer constructor

const LoadContainer({
  1. Key? key,
  2. required LoadController controller,
  3. required Widget child,
  4. Widget? loadingWidget,
  5. String? loadingMessage,
  6. Widget? errorWidget,
  7. String? errorMessage,
  8. Widget? emptyWidget,
  9. String? emptyMessage,
  10. Function? onReLoad,
})

Implementation

const LoadContainer({
  super.key,
  required this.controller,
  required this.child,
  this.loadingWidget,
  this.loadingMessage,
  this.errorWidget,
  this.errorMessage,
  this.emptyWidget,
  this.emptyMessage,
  this.onReLoad,
});