MonthPageView<T> constructor
const
MonthPageView<T> (
- MonthOption<
T> option, { - Key? key,
- ValueChanged<
DateMonth> ? onMonthChange, - BuildMark<
T> ? buildMark, - EdgeInsets padding = EdgeInsets.zero,
- Color? color = Colors.white,
- double? width,
- double? height,
- OnDaySelected<
T> ? onDaySelected, - bool showWeekHead = true,
- BuildWeekHead? buildWeekHead,
- Axis scrollDirection = Axis.horizontal,
- bool pageSnapping = true,
- ValueChanged<
MonthPageController< ? onCreated,T> > - OnContinuousSelectListen? onContinuousSelectListen,
- bool showMonthHead = true,
- BuildWithMonth? buildMonthHead,
- Color? weekHeadColor = Colors.white,
- Color? monthHeadColor = Colors.white,
- CalendarLocaleType? localeType = CalendarLocaleType.zh,
- ValueChanged<
List< ? onMultipleSelectListen,DateDay> > - VoidCallback? onClear,
Implementation
const MonthPageView(
this.option, {
Key? key,
this.onMonthChange,
this.buildMark,
this.padding = EdgeInsets.zero,
this.color = Colors.white,
this.width,
this.height,
this.onDaySelected,
this.showWeekHead = true,
this.buildWeekHead,
this.scrollDirection = Axis.horizontal,
this.pageSnapping = true,
this.onCreated,
this.onContinuousSelectListen,
this.showMonthHead = true,
this.buildMonthHead,
this.weekHeadColor = Colors.white,
this.monthHeadColor = Colors.white,
this.localeType = CalendarLocaleType.zh,
this.onMultipleSelectListen,
this.onClear,
}) : super(key: key);