Skip to content

Expose the ModalBarrier and bodyScrimColor Scaffold used with the bottom sheet #109037

@RareScrap

Description

@RareScrap

Use case

Need to change the background color when a full-size Scaffold#bottomSheet contains transparent parts. Or you need to use a custom widget to render that background (like gradient).

Proposal

Make it possible to pass ScaffoldState#_bodyScrimColor and ModalBarrier as Scaffold parameters

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.good first issueRelatively approachable for first-time contributorsteam-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