separated_column 0.0.2 copy "separated_column: ^0.0.2" to clipboard
separated_column: ^0.0.2 copied to clipboard

outdated

Flutter package for rendering Column widget that injects the separator in between the children.

SeparatedColumn #

Pub

Flutter package for rendering separated Column children.

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();
  },
)
20
likes
30
points
9.26k
downloads

Publisher

verified publisheremaq.ba

Weekly Downloads

Flutter package for rendering Column widget that injects the separator in between the children.

License

MIT (license)

Dependencies

flutter

More

Packages that depend on separated_column