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, String? cancelText, double? maxLongSide, double? maxShortSide, ValueChanged< DateTime> ? onChanged, VoidCallback? onConfirmed, VoidCallback? onCancelled}) → void - Allows selection of a date.