Skip to content

Custom barrier color with showDatePicker, showTimePicker and showAboutDialog  #130971

@ronnnnn

Description

@ronnnnn

Is there an existing issue for this?

Use case

showDialog can customize barrier color with barrierColor property. 1
However, showDatePicker, showTimePicker and showAboutDialog can't it, though they call showDialog internally.
To keep application wide unified looks, they should also provide barrierColor property.

Proposal

Add barrier configs to showDatePicker, showTimePicker and showAboutDialog like showDialog.

Footnotes

  1. https://api.flutter.dev/flutter/material/showDialog.html

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