Skip to content

Add yearShape property to DatePickerThemeData #163340

Closed

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

Activity

  1. added
    in triagePresently being triaged by the triage team
    c: new featureNothing broken; request for a new capability
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: material_uimaterial_ui package in flutter/packages
    c: proposalA detailed proposal for a change to Flutter
    team-designOwned by Design Languages team
    and removed
    in triagePresently being triaged by the triage team
    on Feb 17, 2025
  2. added
    P2Important issues not at the top of the work list
    triaged-designTriaged by Design Languages team
    on Feb 19, 2025
  3. added a commit that references this issue on Apr 7, 2025
    c6c3876
  4. added
    r: fixedIssue is closed as already fixed in a newer version
    on Apr 8, 2025
  5. github-actions commented on Apr 22, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Apr 22, 2025
  7. added a commit that references this issue on Jun 9, 2025
    633f189
  8. added a commit that references this issue on Aug 14, 2025
    6357e30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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 widgetsframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesr: 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