SeparatedColumn

Flutter package for rendering separated Column children. This package is also available on pub.

Usage

The only difference between SeparatedColumn and Column is the separatorBuilder property.

SeparatedColumn(
  children: <Widget>[
    ListTile(
      title: Text("Item 1"),
    ),
    ListTile(
      title: Text("Item 2"),
    ),
    ListTile(
      title: Text("Item 3"),
    ),
    ListTile(
      title: Text("Item 4"),
    ),
  ],
  separatorBuilder: (BuildContext context, int index) {
    return Divider();
  },
)

Libraries

separated_column