isPortrait property

bool get isPortrait

True if device is portrait

Implementation

static bool get isPortrait => orientation == Orientation.portrait;