FFCalendar constructor
FFCalendar({
- FFColor? legacyColor,
- bool? legacyWeekFormat,
- bool? legacyWeekStartsMonday,
- FFColor? legacyIconColor,
- FFText? titleStyle,
- FFText? dayOfWeekStyle,
- FFText? dateStyle,
- FFText? inactiveDateStyle,
- FFText? selectedDateStyle,
- FFDateTime? legacyInitialDate,
- double? legacyRowHeight,
- bool? legacyTwoRowHeader,
- FFDateTimeValue? initialDateValue,
- FFColorValue? colorValue,
- FFBooleanValue? weekFormatValue,
- FFBooleanValue? weekStartsMondayValue,
- FFColorValue? iconColorValue,
- FFDoubleValue? rowHeightValue,
- FFBooleanValue? twoRowHeaderValue,
Implementation
factory FFCalendar({
FFColor? legacyColor,
$core.bool? legacyWeekFormat,
$core.bool? legacyWeekStartsMonday,
FFColor? legacyIconColor,
FFText? titleStyle,
FFText? dayOfWeekStyle,
FFText? dateStyle,
FFText? inactiveDateStyle,
FFText? selectedDateStyle,
FFDateTime? legacyInitialDate,
$core.double? legacyRowHeight,
$core.bool? legacyTwoRowHeader,
FFDateTimeValue? initialDateValue,
FFColorValue? colorValue,
FFBooleanValue? weekFormatValue,
FFBooleanValue? weekStartsMondayValue,
FFColorValue? iconColorValue,
FFDoubleValue? rowHeightValue,
FFBooleanValue? twoRowHeaderValue,
}) {
final result = create();
if (legacyColor != null) result.legacyColor = legacyColor;
if (legacyWeekFormat != null) result.legacyWeekFormat = legacyWeekFormat;
if (legacyWeekStartsMonday != null)
result.legacyWeekStartsMonday = legacyWeekStartsMonday;
if (legacyIconColor != null) result.legacyIconColor = legacyIconColor;
if (titleStyle != null) result.titleStyle = titleStyle;
if (dayOfWeekStyle != null) result.dayOfWeekStyle = dayOfWeekStyle;
if (dateStyle != null) result.dateStyle = dateStyle;
if (inactiveDateStyle != null) result.inactiveDateStyle = inactiveDateStyle;
if (selectedDateStyle != null) result.selectedDateStyle = selectedDateStyle;
if (legacyInitialDate != null) result.legacyInitialDate = legacyInitialDate;
if (legacyRowHeight != null) result.legacyRowHeight = legacyRowHeight;
if (legacyTwoRowHeader != null)
result.legacyTwoRowHeader = legacyTwoRowHeader;
if (initialDateValue != null) result.initialDateValue = initialDateValue;
if (colorValue != null) result.colorValue = colorValue;
if (weekFormatValue != null) result.weekFormatValue = weekFormatValue;
if (weekStartsMondayValue != null)
result.weekStartsMondayValue = weekStartsMondayValue;
if (iconColorValue != null) result.iconColorValue = iconColorValue;
if (rowHeightValue != null) result.rowHeightValue = rowHeightValue;
if (twoRowHeaderValue != null) result.twoRowHeaderValue = twoRowHeaderValue;
return result;
}