separatorBuilder property
A builder that creates separators to be placed between children in the column.
The separatorBuilder is called with the context
and the index
of
the separator to be built. It should return a widget that serves as the
separator between two children. The index
is based on the child's
position in the children list.
Example:
separatorBuilder: (BuildContext context, int index) {
return Container(
height: 1,
color: Colors.grey,
);
},
The separatorBuilder is required and should not be null.
Implementation
final IndexedWidgetBuilder separatorBuilder;