deactivateState method
The framework calls this method whenever it removes this StateX object from the tree. The framework calls this method whenever it removes this StateX object from the tree.
Implementation
// @override
// void deactivate() {
// // Optionally call super for debugPrint()
// super.deactivate();
// }
/// The framework calls this method whenever it removes this [StateX] object
/// from the tree.
void deactivateState(covariant State state) {
// Optionally call super for debugPrint()
assert(() {
if (_debugPrintEvents) {
debugPrint(
'$_consoleLeadingLine deactivate($state) in $_consoleClassName');
}
return true;
}());
}