calendar_date_picker2 library

Functions

getMonthFirstDayOffset(int year, int month, int firstDayOfWeekIndex) int
showCalendarDatePicker2Dialog({required BuildContext context, required CalendarDatePicker2WithActionButtonsConfig config, required Size dialogSize, List<DateTime?> value = const [], BorderRadius? borderRadius, bool useRootNavigator = true, bool barrierDismissible = true, Color? barrierColor = Colors.black54, bool useSafeArea = true, Color? dialogBackgroundColor, RouteSettings? routeSettings, String? barrierLabel, TransitionBuilder? builder}) Future<List<DateTime?>?>

Typedefs

CalendarDayBuilder = Widget? Function({required DateTime date, BoxDecoration? decoration, bool? isDisabled, bool? isSelected, bool? isToday, TextStyle? textStyle})
CalendarDayTextStylePredicate = TextStyle? Function({required DateTime date})
CalendarModePickerTextHandler = String? Function({required DateTime monthDate})
CalendarYearBuilder = Widget? Function({BoxDecoration? decoration, bool? isCurrentYear, bool? isDisabled, bool? isSelected, TextStyle? textStyle, required int year})