locale in DatePickerThemeData #148202
Labels
a: internationalization
Supporting other languages or locales. (aka i18n)
c: new feature
Nothing broken; request for a new capability
c: proposal
A detailed proposal for a change to Flutter
f: date/time picker
Date or time picker widgets
f: material design
flutter/packages/flutter/material repository.
framework
flutter/packages/flutter repository. See also f: labels.
P3
Issues that are less important to the Flutter project
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
waiting for PR to land (fixed)
A fix is in flight
Use case
when using
showDatePicker
we have the option to setlocale
But when we have multiple of this widget across our app setting this locale individually is cumbersome and feels against best practices.
We do have a class to set the global theme
DatePickerThemeData
, but this class does not supportlocale
.Proposal
Include
locale
property inDatePickerThemeData
so that we may globaly set thelocale
forshowDatePicker
.The text was updated successfully, but these errors were encountered: