GitHub

    Table of contents

  1. Example
  2. Related Links

VerticalDivider

Edit this page

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

Example

Row(
  mainAxisSize: MainAxisSize.min,
  children: <Widget>[
    Container(
      child: Text('Item1')
    ),
    VerticalDivider(),
    Container(
      child: Text('Item2'),
    ),
    VerticalDivider(),
    Container(
      child: Text('Item3'),
    ),
  ],
)

Related Links