OnOrientationVariant constructor

const OnOrientationVariant(
  1. Orientation orientation
)

Creates a new OnOrientationVariant with the given orientation.

The key is set to a ValueKey based on the orientation.

Implementation

const OnOrientationVariant(this.orientation);