reverse property Null safety

bool reverse
final

Whether the list body positions children in the reading direction.

For example, if the reading direction is left-to-right and mainAxis is Axis.horizontal, then the list body positions children from left to right when reverse is false and from right to left when reverse is true.

Similarly, if mainAxis is Axis.vertical, then the list body positions from top to bottom when reverse is false and from bottom to top when reverse is true.

Defaults to false.

Implementation

final bool reverse;