FCalendarYearPickerStyle.inherit constructor
FCalendarYearPickerStyle.inherit({
- required FColors colors,
- required FTypography typography,
- required FStyle style,
Creates a FCalendarYearPickerStyle that inherits its properties.
Implementation
factory FCalendarYearPickerStyle.inherit({
required FColors colors,
required FTypography typography,
required FStyle style,
}) => FCalendarYearPickerStyle(
yearStyles: .inherit(colors: colors, typography: typography, style: style),
yearSize: Size(DateTime.daysPerWeek * style.sizes.calendar / 3, style.sizes.calendar),
);