FCalendarStyle.inherit constructor
FCalendarStyle.inherit({
- required FColorScheme colorScheme,
- required FTypography typography,
- required FStyle style,
Creates a FCalendarStyle that inherits the color scheme and typography.
Implementation
FCalendarStyle.inherit({
required FColorScheme colorScheme,
required FTypography typography,
required FStyle style,
}) : this(
headerStyle: FCalendarHeaderStyle.inherit(colorScheme: colorScheme, typography: typography, style: style),
dayPickerStyle: FCalendarDayPickerStyle.inherit(colorScheme: colorScheme, typography: typography),
yearMonthPickerStyle: FCalendarYearMonthPickerStyle.inherit(colorScheme: colorScheme, typography: typography),
decoration: BoxDecoration(
borderRadius: style.borderRadius,
border: Border.all(color: colorScheme.border),
color: colorScheme.background,
),
);