flutter / flutter/flutter

Add ability to select a 24-hour format as a parameter of showTimePicker

Open
#144,919 5 comments 0 reactions 0 assignees View on GitHub
a: internationalization c: proposal f: date/time picker p: material_ui P3 package team-design triaged-design workaround available
Dominant language
Dart
Stars
179k
Forks
31.1k
PR merge metrics
PR metrics pending

Description

### Use case

As a Flutter developer, I often encounter scenarios where I need to provide users with the ability to select a 24-hour format based on their preferences. Currently, the showTimePicker function does not offer this capability, resulting in limitations for applications targeting diverse user bases. For instance, in international applications or those catering to specific user demographics.

### Proposal

To address this limitation and enhance the flexibility of time selection in Flutter applications, I propose adding a new parameter to the showTimePicker function that allows developers to specify the desired time format (12-hour or 24-hour). This enhancement will empower developers to tailor their applications to meet the specific needs and preferences of their user base, ultimately improving user satisfaction and usability.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.