- Flutter Widget Livebook

Divider

A one device pixel thick horizontal line, with padding on either side.

Example

Column(
  mainAxisSize: MainAxisSize.min,
  children: <Widget>[
    ListTile(
      title: Text('Item1')
    ),
    Divider(),
    ListTile(
      title: Text('Item2'),
    ),
    Divider(),
    ListTile(
      title: Text('Item3'),
    ),
  ],
)

Related Links

  1. Example
  2. Related Links