onDeviceChanged method
void
onDeviceChanged(
- DeviceChanged device
Implementation
void onDeviceChanged(DeviceChanged device) {
_currentDecvice = device.device;
_currentOrientation = device.orientation;
notifyListeners();
}