Skip to content

Request to Add color Property to Buttons Extending _ActionButton #141061

@svpz

Description

@svpz

Use case

I would like to bring to your attention a minor inconsistency within the current API that I believe could be enhanced for a more seamless user experience.
While navigating through the codebase, I noticed that the BackButton is equipped with a convenient color property. However, this attribute seems to be missing in other buttons that extend the _ActionButton class like DrawerButton.

Proposal

Since color is the most used property in these buttons, this slight variation in the API can pose challenges for developers striving to maintain a cohesive design across different buttons.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions