direction property

ValueNotifier<int> direction
final

Track the direction in which the slidable moves.

-1 means that the slidable is moving to the left. 0 means that the slidable is not moving. 1 means that the slidable is moving to the right.

Implementation

final ValueNotifier<int> direction;