Flutter Design Systems Galleries

Split button

A split button keeps a frequent action one press away and puts related alternatives in a menu. Name the first part so people know what will happen before opening the menu.

About this look Stint app Appliance gallery

Choose how to save

Choose Save for the current draft. Open the adjacent menu and choose Save a copy to see a different confirmation.

Flutter preview Open preview
label
Name of the primary action.
onPressed
Saves the current draft.
actions
Supplies the alternate save action.
menuLabel
Names the control that opens the alternate action.

Shared behaviour

  • Keyboard and focus. Reach the primary action with Tab. Try the menu trigger, the arrow keys and Enter. Escape lets you leave a menu without choosing an action.
  • Screen readers. The primary action and the menu trigger have separate names. The confirmation below the pair identifies which action ran.
  • Direction and type. The menu trigger sits at the reading end of the pair. Open it with large text in the phone frame to inspect its alignment and label.
Read the ui_core contract