omni_datetime_picker library Null safety

A DateTime picker to pick a single DateTime or a DateTime range.

Use showOmniDateTimePicker to pick a single DateTime.

Use showOmniDateTimeRangePicker to pick a DateTime range.

Functions

showOmniDateTimePicker({required BuildContext context, DateTime? startInitialDate, DateTime? startFirstDate, DateTime? startLastDate, OmniDateTimePickerType type = OmniDateTimePickerType.dateAndTime, bool? is24HourMode, bool? isShowSeconds, Color? primaryColor, Color? backgroundColor, Color? calendarTextColor, Color? tabTextColor, Color? unselectedTabBackgroundColor, Color? unselectedTabTextColor, Color? buttonTextColor, TextStyle? timeSpinnerTextStyle, TextStyle? timeSpinnerHighlightedTextStyle, Radius? borderRadius, int? minutesInterval}) Future<DateTime?>
Show a dialog of the OmniDateTimePicker
showOmniDateTimeRangePicker({required BuildContext context, DateTime? startInitialDate, DateTime? startFirstDate, DateTime? startLastDate, DateTime? endInitialDate, DateTime? endFirstDate, DateTime? endLastDate, OmniDateTimePickerType type = OmniDateTimePickerType.dateAndTime, bool? is24HourMode, bool? isShowSeconds, Color? primaryColor, Color? backgroundColor, Color? calendarTextColor, Color? tabTextColor, Color? unselectedTabBackgroundColor, Color? unselectedTabTextColor, Color? buttonTextColor, TextStyle? timeSpinnerTextStyle, TextStyle? timeSpinnerHighlightedTextStyle, Radius? borderRadius}) Future<List<DateTime>?>
Show a dialog of the OmniDateTimeRangePicker

Enums

OmniDateTimePickerType
Type of the OmniDateTimePicker