getReversibleWidgets method

List<Widget> getReversibleWidgets()

Implementation

List<Widget> getReversibleWidgets() {
  var illustrationWidget = illustration ?? Container();
  var list = [illustrationWidget, description];

  if (reversed) {
    return list.reversed.toList();
  }

  return list;
}