Skip to content

Add clipBehavior to DrawerThemeData #148060

@ValentinVignal

Description

@ValentinVignal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: 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.team-designOwned by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions