Open NetiSade opened 4 years ago
please attach your codes, this package doesn't support Hebrew language, and the time picker will always show 3 columns
Hi, I Set the locale to en, and only the local of the app is He. This is my code:
main.dart: MaterialApp( localizationsDelegates: [ GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, ], supportedLocales: [ Locale("he", "IL"), ], locale: Locale("he", "IL"), ),
And the Picker call:
FlatButton( onPressed: () { DatePicker.showTimePicker(context, showSecondsColumn: false, theme: DatePickerTheme( containerHeight: 210.0, ), showTitleActions: true, onConfirm: (time) { print('confirm $time'); }, currentTime: DateTime.now(), locale: LocaleType.en); }, child: Text( 'show date time picker', style: TextStyle(color: Colors.blue), ), )
Thanks in advance!
sorry, I can't reproduce your issue, please update this package to latest 1.3.5 version and try again, may be you can try to set showSecondsColumn to true, to see what will be displayed
when the app's selected locale is ("he", "IL") - Hebrew language, the time picker looks as the image attached. the minutes on the left and the hours on the right.