Skip to content

Add clipBehavior to DialogTheme #147634

@ValentinVignal

Description

@ValentinVignal

Use case

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

Dialog(
  clipBehavior: Clip.hardEdge,
);

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

Proposal

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

Metadata

Metadata

Assignees

No one assigned

    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