EasyLoadingConfig constructor

EasyLoadingConfig({
  1. Color loadingIndicatorColor = Colors.black,
  2. Color loadingBackgroundColor = Colors.white,
  3. Color loadingTextColor = Colors.black,
  4. double? loadingIndicatorSize,
  5. double? fontSize,
  6. String? loadingText,
  7. Color toastBackgroundColor = Colors.black,
  8. Color toastTextColor = Colors.white,
  9. Color errorBackgroundColor = Colors.red,
  10. Color errorTextColor = Colors.white,
  11. Widget? errorWidget,
  12. Color successBackgroundColor = Colors.green,
  13. Color successTextColor = Colors.white,
  14. Widget? successWidget,
  15. Color infoBackgroundColor = Colors.black,
  16. Color infoTextColor = Colors.white,
  17. Widget? infoWidget,
})

Implementation

EasyLoadingConfig({
  this.loadingIndicatorColor = Colors.black,
  this.loadingBackgroundColor = Colors.white,
  this.loadingTextColor = Colors.black,
  this.loadingIndicatorSize,
  this.fontSize,
  this.loadingText,
  this.toastBackgroundColor = Colors.black,
  this.toastTextColor = Colors.white,
  this.errorBackgroundColor = Colors.red,
  this.errorTextColor = Colors.white,
  this.errorWidget,
  this.successBackgroundColor = Colors.green,
  this.successTextColor = Colors.white,
  this.successWidget,
  this.infoBackgroundColor = Colors.black,
  this.infoTextColor = Colors.white,
  this.infoWidget,
});