EasyLoadingConfig constructor
EasyLoadingConfig({
- Color loadingIndicatorColor = Colors.black,
- Color loadingBackgroundColor = Colors.white,
- Color loadingTextColor = Colors.black,
- double? loadingIndicatorSize,
- double? fontSize,
- String? loadingText,
- Color toastBackgroundColor = Colors.black,
- Color toastTextColor = Colors.white,
- Color errorBackgroundColor = Colors.red,
- Color errorTextColor = Colors.white,
- Widget? errorWidget,
- Color successBackgroundColor = Colors.green,
- Color successTextColor = Colors.white,
- Widget? successWidget,
- Color infoBackgroundColor = Colors.black,
- Color infoTextColor = Colors.white,
- 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,
});