onBuild method
Called during the build phase of the widget.
Implementation
@mustCallSuper
@protected
void onBuild(BuildContext context) {
if (currentKey != key?.call()) {
onDisposeTarget(target);
onInitState();
}
}
Called during the build phase of the widget.
@mustCallSuper
@protected
void onBuild(BuildContext context) {
if (currentKey != key?.call()) {
onDisposeTarget(target);
onInitState();
}
}