-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Closed
Copy link
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityf: 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.
Description
Use case
Currently it's only possible to modify focusColor and hoverColor for selection controls. The pressed overlay color is based of the activeColor. We should make it possible to have a different overlay color independent from the activeColor.
Proposal
Add a MaterialStateProperty<Color> overlayColor argument to the selection controls that allow us to modify it in all its MaterialStates.
Also update the selection control themes to make the overlayColor used in the pressed state.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityf: 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.