isReverse method

List<Widget> isReverse(
  1. bool isReverse
)

Implementation

List<Widget> isReverse(bool isReverse) {
  if (isReverse) {
    return this.reversed.toList();
  } else {
    return this;
  }
}