OrientationEvent constructor

const OrientationEvent({
  1. required ScreenOrientation orientation,
})

Creates a screen orientation event.

Implementation

const OrientationEvent({required this.orientation});