OnOrientationVariant constructor
const
OnOrientationVariant(
- 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);