Skip to content

Add yearShape property to DatePickerThemeData #163340

@andyhorn

Description

@andyhorn

Use case

Unless it's there and I've totally missed it, I would like a way to customize the shape of the year items in the date picker.

Proposal

There is currently a dayShape property in the DatePickerThemeData, allowing me to customize the shape of the day items; there could/should be an analogous property for the year items.

I can change the shape of the day items to match my app's style:

Image

But the years only have the standard circular radius:

Image

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: date/time pickerDate or time picker widgetsf: 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