date_time_picker
date_time_picker copied to clipboard
type: DateTimePickerType.time has only 24 hours format
I was converting the 24 hours format to 12 hours but wasn't able to do that
In materialApp widget try to set supportedLocales with Locale('en', 'US') and the other locale you want. Then, in DateTimePicker, set the parameters use24HourFormat: false, and locale: 'with your prefered locale' as Locale('pt', 'BR'),
It will work.
This does not work.
I submitted a pull request to fix it #37