NepaliCalendar constructor
const
NepaliCalendar({
- Key? key,
- NepaliDateTime? initialDate,
- NepaliDateTime? firstDate,
- NepaliDateTime? lastDate,
- SelectableDayPredicate? selectableDayPredicate,
- Language language = Language.nepali,
- double? dayPickerRowHeight = 50.0,
- dynamic onDaySelected()?,
- dynamic onMonthChanged()?,
- HeaderStyle headerStyle = const HeaderStyle(),
- CalendarStyle calendarStyle = const CalendarStyle(),
- HeaderGestureCallback? onHeaderTapped,
- HeaderGestureCallback? onHeaderLongPressed,
- required NepaliCalendarController controller,
- HeaderDayType headerDayType = HeaderDayType.initial,
- HeaderDayBuilder? headerDayBuilder,
- DateCellBuilder? dateCellBuilder,
- bool enableVibration = true,
- HeaderBuilder? headerBuilder,
Implementation
const NepaliCalendar({
Key? key,
this.initialDate,
this.firstDate,
this.lastDate,
this.selectableDayPredicate,
this.language = Language.nepali,
this.dayPickerRowHeight = 50.0,
this.onDaySelected,
this.onMonthChanged,
this.headerStyle = const HeaderStyle(),
this.calendarStyle = const CalendarStyle(),
this.onHeaderTapped,
this.onHeaderLongPressed,
required this.controller,
this.headerDayType = HeaderDayType.initial,
this.headerDayBuilder,
this.dateCellBuilder,
this.enableVibration = true,
this.headerBuilder,
}) : super(key: key);