Divider

A visual separator that helps distinguish sections of content.

Component checklist

Flutter

Is new design vision part implemented using new tokens?

Up to date

Resources

 

Examples

Layout/Divider


                                                        
                                                        
                                                            OptimusDivider(
                                                                    direction: Axis.horizontal,
                                                                    child: Text('Divider'),
                                                                  )
                                                        
                                                            

OptimusDivider Example

API

Name

Description

Type

Default

direction

The direction of the Divider.

Axis

Axis.horizontal

child

The optional text inside the Divider

Widget?