mustRotate property

bool mustRotate

Implementation

bool get mustRotate =>
    (orientation == PageOrientation.landscape &&
        pageFormat.height > pageFormat.width) ||
    (orientation == PageOrientation.portrait &&
        pageFormat.width > pageFormat.height);