columnSeparated method

Widget columnSeparated(
  1. Widget separator
)

Builds a Column with a separator widget between items.

Implementation

Widget columnSeparated(Widget separator) {
  return Column(
    children: [
      for (var i = 0; i < length; i++) ...[if (i > 0) separator, this[i]],
    ],
  );
}