onPlatformConfigurationChanged property
VoidCallback?
get
onPlatformConfigurationChanged
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;
set
onPlatformConfigurationChanged
(VoidCallback? callback)
Implementation
set onPlatformConfigurationChanged(VoidCallback? callback) {
_onPlatformConfigurationChanged = callback;
_onPlatformConfigurationChangedZone = Zone.current;
}