CalendarStyle<T extends CalendarEvent> constructor
const
CalendarStyle<T extends CalendarEvent> ({
- Color primaryColor = const Color(0xff2196F3),
- Color primaryBackgroundColor = const Color(0xffffffff),
- Color primaryTextColor = const Color(0xff000000),
- Color primaryColorContrast = const Color(0xffffffff),
- Color secondaryColor = const Color(0xffe2f2ff),
- Color secondaryBackgroundColor = const Color(0xffeeeeee),
- Color secondaryTextColor = const Color(0xffcccccc),
- Color barrierColor = Colors.black54,
- CalendarEventStyle eventStyleProvider(
- T event,
- CalendarStyle<
T> style
- CalendarIconsStyle icons = const CalendarIconsStyle(),
Implementation
const CalendarStyle({
this.primaryColor = const Color(0xff2196F3),
this.primaryBackgroundColor = const Color(0xffffffff),
this.primaryTextColor = const Color(0xff000000),
this.primaryColorContrast = const Color(0xffffffff),
this.secondaryColor = const Color(0xffe2f2ff),
this.secondaryBackgroundColor = const Color(0xffeeeeee),
this.secondaryTextColor = const Color(0xffcccccc),
this.barrierColor = Colors.black54,
this.eventStyleProvider,
this.icons = const CalendarIconsStyle(),
});