build method
Subclasses should override this function to actually call the appropriate
build function (e.g., StatelessWidget.build or State.build) for
their widget.
Implementation
@override
Widget build() {
final store = _value;
late Widget child;
final prevSub = setActiveSub(_effect as ReactiveNode);
try {
child = widget.builder(this, store);
} finally {
setActiveSub(prevSub);
}
return _JoltProviderData(
data: store,
child: child,
);
}