scrollbarOrientation property

ScrollbarOrientation? scrollbarOrientation
final

Dictates the orientation of the scrollbar.

ScrollbarOrientation.top places the scrollbar on top of the screen. ScrollbarOrientation.bottom places the scrollbar on the bottom of the screen. ScrollbarOrientation.left places the scrollbar on the left of the screen. ScrollbarOrientation.right places the scrollbar on the right of the screen.

ScrollbarOrientation.top and ScrollbarOrientation.bottom can only be used with a vertical scroll. ScrollbarOrientation.left and ScrollbarOrientation.right can only be used with a horizontal scroll.

For a vertical scroll the orientation defaults to ScrollbarOrientation.right for TextDirection.ltr and ScrollbarOrientation.left for TextDirection.rtl. For a horizontal scroll the orientation defaults to ScrollbarOrientation.bottom.

Implementation

final ScrollbarOrientation? scrollbarOrientation;