date_picker_plus
library
Classes
-
DatePicker
-
Displays a grid of days for a given month and allows the user to select a
date.
-
DaysPicker
-
Displays a grid of days for a given month and allows the user to select a
date.
-
MonthPicker
-
Displays a grid of months for a given year and allows the user to select a
date.
-
RangeDatePicker
-
Displays a grid of days for a given month and allows the user to select a
range of dates.
-
YearsPicker
-
Displays a grid of years which allows the user to select a
date.
Functions
-
showDatePickerDialog({required BuildContext context, required DateTime maxDate, required DateTime minDate, DateTime? initialDate, DateTime? currentDate, DateTime? selectedDate, EdgeInsets contentPadding = const EdgeInsets.all(16), EdgeInsets padding = const EdgeInsets.all(36), PickerType initialPickerType = PickerType.days, bool barrierDismissible = true, Color? barrierColor = Colors.black54, String? barrierLabel, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings, Offset? anchorPoint, TextStyle? daysOfTheWeekTextStyle, TextStyle? enabledCellsTextStyle, BoxDecoration enabledCellsDecoration = const BoxDecoration(), TextStyle? disbaledCellsTextStyle, BoxDecoration disbaledCellsDecoration = const BoxDecoration(), TextStyle? currentDateTextStyle, BoxDecoration? currentDateDecoration, TextStyle? selectedCellTextStyle, BoxDecoration? selectedCellDecoration, Color? slidersColor, TextStyle? leadingDateTextStyle, Color? highlightColor, Color? splashColor, double? splashRadius, bool centerLeadingDate = false})
→ Future<DateTime?>
-
Shows a dialog containing a Material Design date picker.
-
showRangePickerDialog({required BuildContext context, required DateTime maxDate, required DateTime minDate, DateTime? initialDate, DateTime? currentDate, DateTimeRange? selectedRange, EdgeInsets contentPadding = const EdgeInsets.all(16), EdgeInsets padding = const EdgeInsets.all(36), PickerType initialPickerType = PickerType.days, bool barrierDismissible = true, Color? barrierColor = Colors.black54, String? barrierLabel, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings, Offset? anchorPoint, TextStyle? daysOfTheWeekTextStyle, TextStyle? enabledCellsTextStyle, BoxDecoration enabledCellsDecoration = const BoxDecoration(), TextStyle? disbaledCellsTextStyle, BoxDecoration disbaledCellsDecoration = const BoxDecoration(), TextStyle? currentDateTextStyle, BoxDecoration? currentDateDecoration, TextStyle? selectedCellsTextStyle, BoxDecoration? selectedCellsDecoration, TextStyle? singelSelectedCellTextStyle, BoxDecoration? singelSelectedCellDecoration, Color? slidersColor, TextStyle? leadingDateTextStyle, Color? highlightColor, Color? splashColor, double? splashRadius, bool centerLeadingDate = false})
→ Future<DateTimeRange?>
-
Shows a dialog containing a Material Design range picker.