ConsumerHelper<P extends BaseProvider> mixin
- Mixin Applications
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
changeNotifier<
N extends BaseProvider> (BuildContext context, {N provider, WidgetBuilder builder}) → Widget - 注册provider节点
-
changeNotifierWithConsumer<
N extends BaseProvider> ({N provider, WidgetBuilder builder}) → Widget - 注册provider节点并注册通知刷新
-
consumer(
WidgetBuilder builder) → Widget - 注册需要通知刷新的组件
-
consumerType<
T> (WidgetBuilder builder) → Widget - 注册需要通知刷新的组件
-
consumerType2<
A, B> (WidgetBuilder builder) → Widget - 注册需要通知刷新的组件
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited