flutter/packages
David Martos b34ee07372
Fix token usages on Regular Chip and Action Chip (#141701)
The regular chip and the action chip templates were referencing non existent M3 design tokens.

Fixes https://github.com/flutter/flutter/issues/141288

The `ActionChip` doesn't have any visual difference. Even though the template and file changes, the default `labelStyle` color already uses `onSurface`.
For the reviewer, I've changed the `action_chip_test` to expect a color from the colorScheme so that it is more explicit that the color might not be the same as the labelLarge default in the global textTheme, even if for this case the color is the same.

The regular `Chip` does have visual differences, in particular, the label and trailing icon colors, which were not following the specification. In order to fix this, the regular chip now is based from the `filter-chip` spec as described in the linked issue.

## Before

![image](https://github.com/flutter/flutter/assets/22084723/d602ef42-625a-4b5c-b63b-c46cb2070d80)

## After

![image](https://github.com/flutter/flutter/assets/22084723/dddb754f-fd29-4c4c-96cc-e7f508219f12)
2024-02-01 00:05:22 +00:00
..
flutter Fix token usages on Regular Chip and Action Chip (#141701) 2024-02-01 00:05:22 +00:00
flutter_driver Upgrade leak_tracker. (#142162) 2024-01-24 15:33:17 -08:00
flutter_goldens Upgrade leak_tracker. (#142162) 2024-01-24 15:33:17 -08:00
flutter_localizations Fix incorrect zh-cn translation for Look Up Label in selection controls (#142158) 2024-01-25 10:24:42 -08:00
flutter_test Reset framesEnabled to default value at the end of each test (#141844) 2024-01-30 16:04:15 +00:00
flutter_tools [flutter_tools] add debugging to ios/core_devices.dart (#142187) 2024-01-31 15:36:15 -08:00
flutter_web_plugins Upgrade leak_tracker. (#142162) 2024-01-24 15:33:17 -08:00
fuchsia_remote_debug_protocol Upgrade leak_tracker. (#142162) 2024-01-24 15:33:17 -08:00
integration_test Update Android minSdkVersion to 21 (#142267) 2024-01-29 09:49:09 -08:00
analysis_options.yaml Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00