date_time_picker
date_time_picker copied to clipboard
A Flutter widget to show a text form field to display a date or clock dialog. This widget extend TextField and has a similar behavior as TextFormField.
I have noticed that there is no option to manage styles, foreground, background, text color options. Kindly add them to make this package good. I am facing lots of issues...
Hi, very minor change but it seems to be ``DateTimePickerType.dateTimeSeparate` rather than `DateTimePickerType.dateTimeSeparated`.
`dateTimeSeparated` value in readme.md is incorrect. It should be `dateTimeSeparate` without the `d`.
``` [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: LocaleDataException: Locale data has not been initialized, call initializeDateFormatting(). E/flutter ( 4297): #0 UninitializedLocaleData._throwException (package:intl/src/intl_helpers.dart:80:5) E/flutter ( 4297): #1 UninitializedLocaleData.containsKey (package:intl/src/intl_helpers.dart:74:7) E/flutter ( 4297): #2 DateFormat.localeExists...
* Refs m3uzz/date_time_picker#54, m3uzz/date_time_picker#55
I have a time picker and trying to clear text inside by using ``` _timeController.clear(); ``` it has no effect. However ```_timeController.text = '12:45';``` works fine. I alsohave tried ```_timeController.text...
This PR fixes inconsistent time formats when use `DateTimePickerType.time` with 12 hour format. In current version, inputs will show time in format `HH;mm a` until you edit it manually. So,...
I am using the 12 Hr Format and would like to also capture AM and PM. Currently it only returns the time. Here's my code: DateTimePicker( type: DateTimePickerType.time, use24HourFormat: false,...
It would be nice to have another mode, with this dialog first  And then open Date Picker only if you need it, by the calendar icon. You already have...
```dart DateTimePicker( controller: myController, dateMask: myDateFormat, initialDate: DateTime.now(), firstDate: DateTime.now().subtract(Duration(days: 365)), lastDate: DateTime.now().add(Duration(days: 365)), ) ``` Retrieving the value via `myController.value.text` returns the value in `Y-m-d` format even though `myDateFormat`...