isVertical property

bool get isVertical

Determine whether the orientation is vertical or not.

Implementation

bool get isVertical =>
    orientation == ScrollbarOrientation.left ||
    orientation == ScrollbarOrientation.right;