Flutter Design Systems Galleries

Card

A card keeps a small piece of content and its actions together. Give the group a subject that still makes sense when the card stands on its own.

About this look Stint app Appliance gallery

Pin a note

Pin the route note. Its action changes to Unpin so you can remove the pin again.

Flutter preview Open preview
child
What it holds.
padding
Sets the space between the frame and its content.
onTap
Runs when the reader activates the component. Leave it unset for a read-only item.
semanticLabel
What a screen reader calls a pressable plate.
clip
Whether child is clipped to the plate's corners.
style
Its style, over ApplianceThemeData.panelStyle.

Shared behaviour

  • Keyboard and focus. Tab to the action inside the card and activate it with Enter or Space.
  • Screen readers. Read the note, then the action. After pinning, its name changes to Unpin.
  • Direction and type. The note and its action stay together when the leading edge changes in RTL. Try the narrow preview at 200% to see the note wrap.
Read the ui_core contract