SeniorCalendarHeader constructor
SeniorCalendarHeader({
- required String headerTitle,
- bool? leftButtonActive = true,
- VoidCallback? onHeaderTitlePressed,
- required VoidCallback onLeftButtonPressed,
- required VoidCallback onRightButtonPressed,
- bool? rightButtonActive = true,
- required bool showHeader,
- bool showHeaderButtons = true,
- SeniorCalendarStyle? style,
Creates the calendar header, with title navigation buttons between the months and month identification. The parameters headerTitle, onLeftButtonPressed, onRightButtonPressed and showHeader are required.
Implementation
SeniorCalendarHeader({
required this.headerTitle,
this.leftButtonActive = true,
this.onHeaderTitlePressed,
required this.onLeftButtonPressed,
required this.onRightButtonPressed,
this.rightButtonActive = true,
required this.showHeader,
this.showHeaderButtons = true,
this.style,
}) : isTitleTouchable = onHeaderTitlePressed != null;