Flutter - Vertical Divider - How to add Vertical Divider?

By using VerticalDivider widget we can add vertical divider in between widgets.

Sample code

IntrinsicHeight(
  child: Row(
    mainAxisAlignment: MainAxisAlignment.spaceEvenly,
    children:[
    Text('One'),
    VerticalDivider(),
    Text('Two'),
    VerticalDivider(),
    Text('Three'),],
  ),
)
 

 

Properties:

Color, endIndent, indent, thickness, width 


Subscribe For Daily Updates

Flutter Questions
Android Questions