onPlatformConfigurationChanged property Null safety
Called when the platform configuration changes.
The engine invokes this callback in the same zone in which the callback was set.
Implementation
VoidCallback? get onPlatformConfigurationChanged => _onPlatformConfigurationChanged;
Implementation
set onPlatformConfigurationChanged(VoidCallback? callback) {
_onPlatformConfigurationChanged = callback;
_onPlatformConfigurationChangedZone = Zone.current;
}