CalendarStyle<T extends CalendarEvent> constructor

const CalendarStyle<T extends CalendarEvent>({
  1. Color primaryColor = const Color(0xff2196F3),
  2. Color primaryBackgroundColor = const Color(0xffffffff),
  3. Color primaryTextColor = const Color(0xff000000),
  4. Color primaryColorContrast = const Color(0xffffffff),
  5. Color secondaryColor = const Color(0xffe2f2ff),
  6. Color secondaryBackgroundColor = const Color(0xffeeeeee),
  7. Color secondaryTextColor = const Color(0xffcccccc),
  8. Color barrierColor = Colors.black54,
  9. CalendarEventStyle eventStyleProvider(
    1. T event,
    2. CalendarStyle<T> style
    )?,
  10. 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(),
});