onPlatformConfigurationChanged property Null safety

VoidCallback? onPlatformConfigurationChanged
override

Called when the platform configuration changes.

The engine invokes this callback in the same zone in which the callback was set.

Implementation

@override
ui.VoidCallback? get onPlatformConfigurationChanged => _platformDispatcher.onPlatformConfigurationChanged;
void onPlatformConfigurationChanged=(VoidCallback? onPlatformConfigurationChanged)
override

Implementation

@override
set onPlatformConfigurationChanged(ui.VoidCallback? onPlatformConfigurationChanged) {
  _platformDispatcher.onPlatformConfigurationChanged = onPlatformConfigurationChanged;
}