reverse property

bool reverse
final

Whether the swiper scrolls in the reading direction.

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

Similarly, if direction is Axis.vertical, then the swiper 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;