helpers/show_date_picker library

Functions

showMaterialDatePicker({required BuildContext context, String? title, required DateTime firstDate, required DateTime lastDate, required DateTime selectedDate, Color? headerColor, Color? headerTextColor, Color? backgroundColor, Color? buttonTextColor, String? confirmText, bool cancellable = true, String? cancelText, double? maxLongSide, double? maxShortSide, ValueChanged<DateTime>? onChanged, VoidCallback? onConfirmed, VoidCallback? onCancelled}) Future<DateTime?>
Allows selection of a date.