Skip to content
pubscout

separated_column

3.0.4, released 2 years ago by emaq.ba

A Column widget that automatically inserts separators between its children.

WASM-ready
$ flutter pub add separated_column
Source repository

What it does

SeparatedColumn works like the standard Column but adds a separator widget between each child. It also supports optional outer separators before the first and after the last child.

AI-written summary of version 3.0.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a simple way to add dividers or other widgets between column items without manually inserting them.
  • You want configurable outer separators (before first or after last).

Skip it when

  • You require complex layout logic beyond simple separators.
  • Performance is critical for very large lists; consider using ListView with separators instead.

Strengths

  • Reduces boilerplate for adding separators.
  • Supports outer separator mode for flexible UI designs.

Weaknesses

  • Only works for Column layouts, not for scrollable lists.
  • Limited to static children; dynamic large data sets may need other solutions.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
SeparatedColumn(
  children: [
    Text('Item 1'),
    Text('Item 2'),
    Text('Item 3'),
  ],
  outerSeparatorMode: OuterSeparatorMode.both,
  separatorBuilder: (context, index) => const Divider(),
);

Alternatives

Packages that do the same job and could replace separated_column.

Works with

Packages commonly used together with separated_column: ones it builds on, ones built on it, and its own family.