MonthCellStyle constructor Null safety

const MonthCellStyle(
  1. {Color? backgroundColor,
  2. Color? todayBackgroundColor,
  3. Color? trailingDatesBackgroundColor,
  4. Color? leadingDatesBackgroundColor,
  5. TextStyle? textStyle,
  6. @Deprecated('Moved the same [todayTextStyle] to SfCalendar class, ' 'use [todayTextStyle] property from SfCalendar class') TextStyle? todayTextStyle,
  7. TextStyle? trailingDatesTextStyle,
  8. TextStyle? leadingDatesTextStyle}
)

Creates a month cell style for month view in calendar.

The properties allows to customize the month cell in month view of SfCalendar.

Implementation

const MonthCellStyle({
  this.backgroundColor,
  this.todayBackgroundColor,
  this.trailingDatesBackgroundColor,
  this.leadingDatesBackgroundColor,
  this.textStyle,
  @Deprecated('Moved the same [todayTextStyle] to SfCalendar class, '
      'use [todayTextStyle] property from SfCalendar class')
      // ignore: deprecated_member_use_from_same_package, deprecated_member_use
      this.todayTextStyle,
  this.trailingDatesTextStyle,
  this.leadingDatesTextStyle,
});