Skip to content

[Proposal] Add M3 theming to vanilla Chip when opting in on useMaterial3 #109470

@rydmike

Description

@rydmike

Part of: #91605

Use Case: Consistent Chip style for all Flutter Chip types when opting on Material3

When opting in on useMaterial3 in ThemeData the basic vanilla Chip does not get a Material 3 theme, as it was implemented via #107166. It retains the Material 2 style as shown below:

Screen Shot 2022-07-19 at 18 33 47

This is an oversight and creates an inconsistent Chip experience in Flutter when using Material 3. This finding was discussed here #107166 (comment).

Proposal

Reuse the already existing M3 Assist Chip style, called ActionChip in Flutter as default theme and style for vanilla Chip in Flutter when opting in on Material3. This default per suggestion by @darrenaustin here #107166 (comment).

Background

This proposal is added to have a dedicated issue for this issue, instead of only the above referenced discussion in PR #107166. Plus it is nice to be able to link a PR to an issue that can be closed when it is merged.

Metadata

Metadata

Assignees

Labels

c: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions