debugPrintGlobalKeyedWidgetLifecycle top-level property
getter/setter pair
Log when widgets with global keys are deactivated and log when they are reactivated (retaken).
This can help track down framework bugs relating to the GlobalKey logic.
Implementation
bool debugPrintGlobalKeyedWidgetLifecycle = false;