debugPrintGlobalKeyedWidgetLifecycle top-level property Null safety

bool debugPrintGlobalKeyedWidgetLifecycle
read / write

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;