Skip to content

ScrollDirection

Inherits: Enum

User scroll direction reported by Flutter user-scroll notifications.

Used by OnScrollEvent.direction when OnScrollEvent.event_type is ScrollType.USER.

Properties

  • FORWARD

    Scrolling in the forward axis direction.

  • IDLE

    No active user-driven scroll direction.

  • REVERSE

    Scrolling in the reverse axis direction.

Properties#

FORWARD = 'forward' class-attribute instance-attribute #

Scrolling in the forward axis direction.

IDLE = 'idle' class-attribute instance-attribute #

No active user-driven scroll direction.

REVERSE = 'reverse' class-attribute instance-attribute #

Scrolling in the reverse axis direction.