MonthWidget<T> constructor
const
MonthWidget<T> ({
- Key? key,
- EdgeInsets padding = EdgeInsets.zero,
- Color color = Colors.transparent,
- double? width,
- BuildMark<
T> ? buildMark, - OnDaySelected<
T> ? onDaySelected, - MonthController<
T> ? controller, - BuildWeekHead? buildWeekHead,
- bool showWeekHead = true,
- bool showBackground = true,
- BuildWithMonth? buildMonthBackground,
- BuildWithDay<
T> ? buildDayItem, - OnContinuousSelectListen? onContinuousSelectListen,
- ValueChanged<
List< ? onMultipleSelectListen,DateDay> > - bool showMonthHead = true,
- BuildWithMonth? buildMonthHead,
- double? height,
- Color weekHeadColor = Colors.transparent,
- Color monthHeadColor = Colors.transparent,
- Color weekColor = const Color(0xa6000000),
- Color weekendColor = const Color(0xffFF4081),
- CalendarLocaleType localeType = CalendarLocaleType.zh,
Implementation
const MonthWidget({
Key? key,
this.padding = EdgeInsets.zero,
this.color = Colors.transparent,
this.width,
this.buildMark,
this.onDaySelected,
this.controller,
this.buildWeekHead,
this.showWeekHead = true,
this.showBackground = true,
this.buildMonthBackground,
this.buildDayItem,
this.onContinuousSelectListen,
this.onMultipleSelectListen,
this.showMonthHead = true,
this.buildMonthHead,
this.height,
this.weekHeadColor = Colors.transparent,
this.monthHeadColor = Colors.transparent,
this.weekColor = const Color(0xa6000000),
this.weekendColor = const Color(0xffFF4081),
this.localeType = CalendarLocaleType.zh,
}) : super(key: key);