-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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.