MonthHeaderSettings constructor

const MonthHeaderSettings({
  1. String monthFormat = 'MMMM yyyy',
  2. double height = 150,
  3. TextAlign textAlign = TextAlign.start,
  4. Color backgroundColor = const Color.fromRGBO(17, 178, 199, 1),
  5. TextStyle? monthTextStyle,
})

Creates a month header settings for schedule view in calendar.

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

Implementation

const MonthHeaderSettings(
    {this.monthFormat = 'MMMM yyyy',
    this.height = 150,
    this.textAlign = TextAlign.start,
    this.backgroundColor = const Color.fromRGBO(17, 178, 199, 1),
    this.monthTextStyle})
    : assert(height >= -1);