subscribeNotifierWidget method
订阅消费组件
model
订阅模型
childBuilder
子组件构建器
Implementation
Widget subscribeNotifierWidget(M model, ConsumerWidgetBuilder<M> childBuilder) {
_model = model;
parent?.addModel<M>(model.modKey ?? "", model);
model.setParent(super.parent);
return _StateWidget.subscribeNotifierWidget<M>(model, childBuilder);
}