MonthView<T> constructor
const
MonthView<T> ({
- Key? key,
- bool showBorder = true,
- Color borderColor = Constants.defaultBorderColor,
- CellBuilder<
T> ? cellBuilder, - DateTime? minMonth,
- DateTime? maxMonth,
- EventController<
T> ? controller, - DateTime? initialMonth,
- double borderSize = 1,
- double cellAspectRatio = 0.55,
- DateWidgetBuilder? headerBuilder,
- WeekDayBuilder? weekDayBuilder,
- Duration pageTransitionDuration = const Duration(milliseconds: 300),
- Curve pageTransitionCurve = Curves.ease,
- double? width,
- CalendarPageChangeCallBack? onPageChange,
- CellTapCallback<
T> ? onCellTap, - TileTapCallback<
T> ? onEventTap, - DatePressCallback? onDateLongPress,
Main Widget to display month view.
Implementation
const MonthView({
Key? key,
this.showBorder = true,
this.borderColor = Constants.defaultBorderColor,
this.cellBuilder,
this.minMonth,
this.maxMonth,
this.controller,
this.initialMonth,
this.borderSize = 1,
this.cellAspectRatio = 0.55,
this.headerBuilder,
this.weekDayBuilder,
this.pageTransitionDuration = const Duration(milliseconds: 300),
this.pageTransitionCurve = Curves.ease,
this.width,
this.onPageChange,
this.onCellTap,
this.onEventTap,
this.onDateLongPress,
}) : super(key: key);