WeekHeaderSettings constructor

const WeekHeaderSettings({
  1. String? startDateFormat,
  2. String? endDateFormat,
  3. double height = 30,
  4. TextAlign textAlign = TextAlign.start,
  5. Color backgroundColor = Colors.transparent,
  6. TextStyle? weekTextStyle,
})

Creates a week header settings for schedule view in calendar.

The properties allows to customize the week header in schedule view of SfCalendar.

Implementation

const WeekHeaderSettings({
  this.startDateFormat,
  this.endDateFormat,
  this.height = 30,
  this.textAlign = TextAlign.start,
  this.backgroundColor = Colors.transparent,
  this.weekTextStyle,
}) : assert(height >= -1);