EasyLoadingConfig class
全局EasyLoading配置
Constructors
- 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})
Properties
- errorBackgroundColor ↔ Color
-
error-对话框背景颜色
getter/setter pair
- errorTextColor ↔ Color
-
error-文字颜色
getter/setter pair
- errorWidget ↔ Widget?
-
error-加载失败的小控件
getter/setter pair
- fontSize ↔ double?
-
通用-字体大小 默认15.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- infoBackgroundColor ↔ Color
-
info-对话框背景颜色
getter/setter pair
- infoTextColor ↔ Color
-
info-文字颜色
getter/setter pair
- infoWidget ↔ Widget?
-
info-加载失败的小控件
getter/setter pair
- loadingBackgroundColor ↔ Color
-
加载中-对话框背景颜色
getter/setter pair
- loadingIndicatorColor ↔ Color
-
加载中-指示器的颜色
getter/setter pair
- loadingIndicatorSize ↔ double?
-
加载中-指示器的大小
getter/setter pair
- loadingText ↔ String?
-
加载中-加载进度条显示文案
getter/setter pair
- loadingTextColor ↔ Color
-
加载中-文字颜色
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- successBackgroundColor ↔ Color
-
success-对话框背景颜色
getter/setter pair
- successTextColor ↔ Color
-
success-文字颜色
getter/setter pair
- successWidget ↔ Widget?
-
success-加载失败的小控件
getter/setter pair
- toastBackgroundColor ↔ Color
-
toast-对话框背景颜色
getter/setter pair
- toastTextColor ↔ Color
-
toast-文字颜色
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited