TinyXContextShowDatePicker extension

showDatePicker(context: context, ...) as context.showDP(...)

on

Methods

showDP({required DateTime initialDate, required DateTime firstDate, required DateTime lastDate, DatePickerEntryMode initialEntryMode = material.DatePickerEntryMode.calendar, SelectableDayPredicate? selectableDayPredicate, String? helpText, String? cancelText, String? confirmText, Locale? locale, bool useRootNavigator = true, RouteSettings? routeSettings, TextDirection? textDirection, TransitionBuilder? builder, DatePickerMode initialDatePickerMode = material.DatePickerMode.day, String? errorFormatText, String? errorInvalidText, String? fieldHintText, String? fieldLabelText}) Future<DateTime?>
Shows a dialog containing a Material Design date picker.