FCalendarYearPickerStyle.inherit constructor

FCalendarYearPickerStyle.inherit({
  1. required FColors colors,
  2. required FTypography typography,
  3. required FStyle style,
})

Creates a FCalendarYearPickerStyle that inherits its properties.

Implementation

factory 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),
    );