ZdsCalendar constructor
- {required List<
CalendarEvent> events, - Key? key,
- bool showAllButton = false,
- void onAllSelected( )?,
- DateTime? firstDay,
- DateTime? lastDay,
- DateTime? initialSelectedDay,
- DateTime? selectedDay,
- StartingDayOfWeek? startingDayOfWeek,
- DateTime? initialSelectedWeek,
- List<
WeekIcon> ? weekIcons, - bool isRangeSelectable = false,
- bool isGridShown = false,
- void onDaySelected( )?,
- void onRangeSelected( )?,
- void onPageChanged( )?,
- void onFormatChanged( )?,
- EdgeInsets headerPadding = const EdgeInsets.fromLTRB(4, 8, 8, 8),
- Widget? singleMarkerBuilder(
- BuildContext,
- DateTime,
- dynamic
- AvailableGestures availableGestures = AvailableGestures.horizontalSwipe,
- bool enabled = true,
- Color? calendarHeaderIconColor,
- Color? calendarHeaderTextColor,
- Color? calendarTextColor,
- List<
DateTime> holidayEvents = const [], - String? allCustomLabel,
- double? calendarRowHeight,
- String? previousTooltip,
- String? nextTooltip}
Calendar widget that allows to switch between a monthly and weekly format. As such, the calendar header will always be shown. To not show the calendar header and use a monthly format, use ZdsCalendar.monthly instead.
Implementation
const ZdsCalendar