orientationValue<T> function

T orientationValue<T>({
  1. required T portrait,
  2. 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);