reverse property

bool reverse
final

Whether the carousel list scrolls in the reading direction.

For example, if the reading direction is left-to-right and scrollDirection is Axis.horizontal, then the carousel scrolls from left to right when reverse is false and from right to left when reverse is true.

Similarly, if scrollDirection is Axis.vertical, then the carousel view scrolls from top to bottom when reverse is false and from bottom to top when reverse is true.

Defaults to false.

Implementation

final bool reverse;