-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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 MaterialState
s.
Also update the selection control themes to make the overlayColor used in the pressed
state.
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.