AbnormalStateUtils class

/// /// /// /// /// /// /// /// / 描述: 异常页面展示 注:这里仅提供几种常用异常页面,需要其他内容异常页面自行实现 EmptyStateWidget /// /// /// /// /// /// /// /// /

Constructors

AbnormalStateUtils()

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

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

Static Methods

getEmptyWidgetByState(BuildContext context, AbnormalState status, {Image? img, EmptyStatusIndexedActionClickCallback? action}) Widget
通过状态获取对应空页面widget status: 页面状态类型为EmptyState