orientation property

Orientation get orientation

Get device orientation.

Implementation

Orientation get orientation => _orientation;
set orientation (Orientation value)

Set device orientation.

Implementation

set orientation(Orientation value) {
  if (_orientation != value) {
    _orientation = value;
    markNeedsLayout();
    markNeedsPaint();
  }
}