Flutter Design Systems Galleries

Divider

A divider marks a boundary inside a short run of content. Keep the words on both sides meaningful even when the rule is invisible.

About this look Stint app Appliance gallery

Read a receipt

Read the subtotal above the divider and the total below. Add or remove the delivery fee to change the total.

Flutter preview Open preview
indent
The room before it.
endIndent
The room after it.
vertical
Whether it runs down instead of across.
style
Overrides the component’s themed appearance for this instance.

Shared behaviour

  • Keyboard and focus. Tab reaches the delivery action. The rule itself needs no keyboard stop.
  • Screen readers. Read Subtotal and Total in order. Their labels explain the relationship without relying on the divider.
  • Direction and type. The horizontal rule separates the same two lines in either direction. The amount and its label grow with the text setting.
Read the ui_core contract