Flutter Design Systems Galleries

Disclosure

A disclosure lets readers open a short detail where they need it. Put enough information in the closed label for them to decide whether to expand it.

About this look Stint app Appliance gallery

Read pickup instructions

Open Pickup instructions to find the collection point. Close the section and the instructions disappear.

Flutter preview Open preview
title
The row's words.
child
What the lid covers.
subtitle
A second line under them.
open
Whether it is open, when you hold it.
onChanged
Called with its new state.
initiallyOpen
Whether it starts open, when it holds its own.
style
The row's style, over ApplianceThemeData.listTileStyle.

Shared behaviour

  • Keyboard and focus. Tab to Pickup instructions and activate it again to collapse it.
  • Screen readers. Read the trigger, then move forward with it open to reach the instructions. Compare the expanded and collapsed states.
  • Direction and type. The instructions use the same direction and text scale as their trigger. Try the phone width with larger type.
Read the ui_core contract