didUpdateWidget method
Called whenever the widget configuration changes.
Implementation
@override
void didUpdateWidget(covariant Form oldWidget) {
super.didUpdateWidget(oldWidget);
if (!identical(oldWidget, widget) && oldWidget._state == this) {
oldWidget._state = null;
}
widget._state = this;
if (identical(oldWidget, widget)) {
widget._activeFieldIndex = oldWidget._activeFieldIndex;
}
_markFieldOrderDirty();
}