IStateViewConfig class abstract
配置缺省页面
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
configBusyView(
) → Widget? - 配置全局加载中的页面
-
configLoadEmptyView(
VoidCallback? onRefresh) → Widget? - 配置全局加载数据为空的页面
-
configLoadErrorView(
ViewStateErrorType errorType, String? errorMsg, VoidCallback? onRefresh) → Widget? -
配置全局加载失败的页面
errorType
错误类型 ,可以根据不同的错误类型去显示相关的用户提示,具体类型可以看 ViewStateErrorTypeonRefresh
点击事件 -
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