date_form_field library

Classes

DateFormField
A FormField that contains a TextField. [...]

Functions

date2Time(DateTime date) TimeOfDay
date2TimeStr(DateTime date) String
showDateTimePicker({BuildContext context, DateTime initialDate, DateTime firstDate, DateTime lastDate, DateTime currentDate, DatePickerEntryMode initialDatePickerEntryMode = DatePickerEntryMode.calendar, TimePickerEntryMode initialTimePickerEntryMode = TimePickerEntryMode.dial, SelectableDayPredicate selectableDayPredicate, String helpText, String cancelText, String confirmText, Locale locale, bool useRootNavigator = true, RouteSettings routeSettings, TextDirection textDirection, TransitionBuilder builder, DatePickerMode initialDatePickerMode = DatePickerMode.day, String errorFormatText, String errorInvalidText, String fieldHintText, String fieldLabelText}) Future<DateTime>
time2Date(TimeOfDay time) DateTime
time2DateStr(TimeOfDay time) String