onPlatformConfigurationChanged property

  1. @override
VoidCallback? get 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
VoidCallback? get onPlatformConfigurationChanged => _platformDispatcher.onPlatformConfigurationChanged;
  1. @override
set onPlatformConfigurationChanged (VoidCallback? onPlatformConfigurationChanged)
override

Implementation

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