StateUtils class

状态工具

Constructors

StateUtils()
factory

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

convertToWidget({required BuildContext context, required ConsumerBuilder<ProviderModel, ProviderModel> builder, required ProviderModel parent}) Widget
消费对象组件转换 context 视图上下文 builder 对象消费者构建器 parent 父对象model
getStateListener() OnStateListener?
isFirstPage(Map<String, dynamic> response) bool
是否首页数据
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerConfig<T extends OnStateListener>(T listener) → void
注册构建监听器
subscribeNotifierWidget<M extends ChangeNotifier>(M model, ConsumerWidgetBuilder<M> childBuilder) Widget
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance StateUtils
no setter