orientationValue<T> function
T
orientationValue<T>({
- required T portrait,
- required T landscape,
Returns the appropriate value based on the current screen orientation.
Equivalent to: PxResponsive().orientationValue(...)
Implementation
T orientationValue<T>({required T portrait, required T landscape}) =>
PxResponsive().orientationValue(portrait: portrait, landscape: landscape);