Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clipBehavior to DrawerThemeData #148060

Closed
ValentinVignal opened this issue May 9, 2024 · 1 comment · Fixed by #148061
Closed

Add clipBehavior to DrawerThemeData #148060

ValentinVignal opened this issue May 9, 2024 · 1 comment · Fixed by #148061
Labels
c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. team-design Owned by Design Languages team

Comments

@ValentinVignal
Copy link
Contributor

Use case

Right now, we can specify the Clip clipBehavior of the drawer when building them:

Drawer(
  clipBehavior: Clip.hardEdge,
);

It would be nice to be able to specify it in the theme so it applies to all drawers in the app.

Proposal

Add a new property Clip? clipBehavior to DrawerThemeData that would be used by the dialogs.

@darshankawar darshankawar added in triage Presently being triaged by the triage team c: new feature Nothing broken; request for a new capability framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. c: proposal A detailed proposal for a change to Flutter team-design Owned by Design Languages team and removed in triage Presently being triaged by the triage team labels May 10, 2024
auto-submit bot pushed a commit that referenced this issue May 15, 2024
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. team-design Owned by Design Languages team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants