You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "AM" and "PM" buttons in the TimePicker dialog have a hard coded height of 39 pt (see image below), which is smaller than the recommended touch target size (see Android a11y guidelines, for example)
This DartPad project displays the TimePicker with the "AM" and "PM" buttons. Inspecting the buttons reveals their size. I believe this is the offending code, hardcoding a height of 80 pixels total for both buttons.
Expected results
The "AM" and "PM" buttons should each have a touch target size of at least 48x48 pixels.
Actual results
The "AM" and "PM" buttons each have a touch target height of 39 pixels only.
Steps to reproduce
The "AM" and "PM" buttons in the TimePicker dialog have a hard coded height of 39 pt (see image below), which is smaller than the recommended touch target size (see Android a11y guidelines, for example)
This DartPad project displays the TimePicker with the "AM" and "PM" buttons. Inspecting the buttons reveals their size. I believe this is the offending code, hardcoding a height of 80 pixels total for both buttons.
Expected results
The "AM" and "PM" buttons should each have a touch target size of at least 48x48 pixels.
Actual results
The "AM" and "PM" buttons each have a touch target height of 39 pixels only.
Code sample
[
Code sample
[Paste your code here]
Screenshots or Video
No response
Logs
Flutter Doctor output
N/A
The text was updated successfully, but these errors were encountered: