onDeviceOrientationChanged method

Stream<DeviceOrientationChangedEvent> onDeviceOrientationChanged()

The ui orientation changed.

Implementations for this:

  • Should support all 4 orientations.

Implementation

Stream<DeviceOrientationChangedEvent> onDeviceOrientationChanged() {
  throw UnimplementedError(
      'onDeviceOrientationChanged() is not implemented.');
}