orientationValue property
int?
get
orientationValue
Representation of orientation to pass to platform code.
Implementation
int? get orientationValue => orientation == null
? null
: orientation == Orientation.portrait
? 0
: 1;