-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Use case
https://github.com/flutter/flutter/blob/master/dev/tools/gen_defaults/data/menu.json seems to be incomplete.
For some reason, I had to hardcode this label style for the popup menu a year ago.
| final TextStyle style = _textTheme.labelLarge!; |
When looking into #128576, this issue was rediscovered.
https://m3.material.io/components/menus/specs mentions the label large text style.
However, this isn't available in menu tokens or list item tokens.

I can see such a token in Compose https://github.com/androidx/androidx/blob/androidx-main/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/MenuTokens.kt
Proposal
If the tokens are missing, add them.
or
Use the list item label token and update M3 web specs to reflect the same.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team