Skip to content
Get started
Menu
Get started

List

PaymentListItem is a tappable row for settings, menus and action lists: an outlined icon, a title and a muted detail line, with no box around it.

Payment method rows with icons, descriptions, actions and disabled states.Payment method rows with icons, descriptions, actions and disabled states.
List variants
Payment method rows with icons, descriptions, actions and disabled states at 200 percent text.
200% text
example/lib/screens/flow_screen.dart
PaymentList(
children: [
PaymentListItem(
icon: Icons.receipt_long_outlined,
title: s.transactions,
onPressed: c.openHistory,
),
PaymentListItem(
icon: Icons.description_outlined,
title: s.statement,
onPressed: c.openStatement,
),
PaymentListItem(
icon: Icons.sell_outlined,
title: s.fees,
onPressed: c.openFees,
),
PaymentListItem(
icon: Icons.settings_outlined,
title: s.accountSettings,
onPressed: c.openAccountSettings,
),
],
);

Variants: standard, large.

With onTap, the row shows a chevron at the end (mirrored in right-to-left languages). Pass trailing to put your own widget there instead, such as a value or a 48 dp button; it keeps its own size.

A row without onTap is disabled. It stays visible with a muted title, but it is not focusable. Pass disabledReason; it replaces the subtitle so people know why they cannot use the row.

destructive: true draws the icon and title in the danger tone. Color is never the only signal: the title must already say what happens, such as “Sign out of all devices”. Confirm the action with a dialog before you run it.

PaymentListItem(
icon: Icons.logout,
title: 'Sign out of all devices',
destructive: true,
onPressed: confirmSignOut,
);

Standard uses a 48 dp minimum and label title; large uses 64 dp and heading. Variants: size, value, icon, destructive, disabledReason and trailing. Read-only rows keep ink titles without a button role; disabled rows explain why. Do not put selection controls in value or trailing; use their dedicated rows. Values align to the first line before the navigation chevron.

PaymentList.onAction receives a row id unless its own onPressed overrides it. No handler and no reason means read-only. The forward glyph mirrors once in RTL.

Migration: ActionTile is a deprecated wrapper. Rename subtitle to secondaryTitle and onTap to onPressed. ActionTileGroup is a deprecated PaymentList alias.

PaymentListItem accepts a PaymentImage in its image slot instead of an icon. Supply alt text for a bank logo.

Situation Variant / composition Payment example
Your account navigation standard Use large for more descriptive rows; the whole action row is tappable.

Use Checkbox, Radio or Switch for selected values.

Disabled rows keep their title and reason visible. The host enables each action and handles navigation or work from its callback.

Layout. In a single-line row the title, value and trailing control share one centre line; in a multi-line row the icon and the trailing control centre on the title’s first line. Above 1.5× text the value moves under the title at label size instead of shrinking beside it. A two-line row is 62 dp; rows with a trailing action are at least 48 dp.

Do: Use large for more descriptive rows; the whole action row is tappable.

Don’t: Make a selection setting look like a navigation row.

  • Titles name the destination or the action: “Transaction history”, “Change PIN”. Use sentence case and no end punctuation.
  • Keep the subtitle to one short line of extra context, such as “Last 90 days”.
  • Write disabled reasons as the cause or the way out: “Managed by your bank app”, “Verify your identity first”.
  • Use an icon on every row of a group or on none, so titles line up.
  • Rows are at least 48 dp tall and announce as buttons; disabled rows announce as disabled.
  • The icon and chevron center on the title’s first line, so they stay beside the title when it wraps at large text. The icon grows with text up to 1.6×.
  • Keyboard focus draws the kit’s focus ring.
Example sign in screen with synthetic dataExample sign in screen with synthetic data
Example: sign in

PaymentList

class PaymentList extends StatelessWidget · lib/src/interaction/interaction.dart

A list of PaymentListItems (or other rows) separated by hairlines. There is no box around the group: it sits on the page surface like a section.

ParameterTypeDefaultDescription
children:requiredList<Widget>——
onAction:ValueChanged<String>?——

PaymentListItem

class PaymentListItem extends StatelessWidget · lib/src/interaction/interaction.dart

A payment list row with a host action, icon or image.

ParameterTypeDefaultDescription
title:requiredString—Primary row label..
secondaryTitle:String?—Supporting row text..
icon:IconData?—Leading decorative glyph..
image:PaymentImage?—Leading host image; mutually exclusive with icon.
trailing:Widget?—Defaults to a chevron when onPressed is set.
value:Widget?—Trailing value, mutually exclusive with trailing..
id:String?—Host action identifier..
size:PaymentListItemSizePaymentListItemSize.standardRow size..
onPressed:VoidCallback?—Host row action..
destructive:boolfalseUse the danger foreground for the action..
disabledReason:String?—Explanation when the action is unavailable..

PaymentListItemSize

enum PaymentListItemSize · lib/src/interaction/interaction.dart

A tappable row for settings, menus and action lists.

The row is flat: a plain outlined icon, a title and a muted detail line, with no container. Put consecutive tiles in a PaymentList so they are separated by hairlines.

Disabled rows stay visible; pass disabledReason so people know why. destructive uses the danger tone for both icon and label, never color alone: the label must already say what happens. List item sizes. Both keep at least a 48 dp target.

ValueDescription
standardStandard label row.
largeHeading row with a 64 dp minimum.

ActionTile

class ActionTile extends StatelessWidget · lib/src/interaction/interaction.dart

Deprecated. Use PaymentListItem.

Deprecated wrapper: subtitle is secondaryTitle and onTap is onPressed.

ParameterTypeDefaultDescription
title:requiredString——
subtitle:String?——
icon:IconData?——
trailing:Widget?—Defaults to a chevron when onTap is set.
onTap:VoidCallback?——
destructive:boolfalse—
disabledReason:String?——

ActionTileGroup

typedef ActionTileGroup = PaymentList · lib/src/interaction/interaction.dart

Deprecated. Use PaymentList.

Deprecated alias of PaymentList.

  • Action menu for actions that do not need a row each.
  • Button for the main action of a screen.
  • Switch for settings rows that turn something on or off.