didPop method
Called when this route has been popped off.
Implementation
@override
@protected
@mustCallSuper
void didPop() {
// No 'setState()' functions are allowed
_setStateAllowed = false;
for (final con in _controllerList) {
con.didPop();
}
_setStateAllowed = true;
if (_setStateRequested) {
_setStateRequested = false;
// Only the latest State is rebuilt
if (isEndState) {
// Perform a 'rebuild' if requested.
setState(() {});
}
}
}