ConsumerBuilder<M extends ProviderModel, P extends ProviderModel> class abstract

组件构建器

Mixed-in types
  • UniversalModel<P>

Constructors

ConsumerBuilder()

Properties

hashCode int
The hash code for this object.
no setterinherited
model → M
no setter
parent → P?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

builder(BuildContext context) Widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setParent(P parent) → void
inherited
setParentModel(P parent) → void
subscribeNotifierWidget(M model, ConsumerWidgetBuilder<M> childBuilder) Widget
订阅消费组件 model 订阅模型 childBuilder 子组件构建器
toString() String
A string representation of this object.
inherited

Operators

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