YearButtonCustomizer constructor

YearButtonCustomizer({
  1. Color? borderColorOnSelected,
  2. Color? borderColorOnDisabled,
  3. Color? borderColorOnEnabled,
  4. Color? textColorOnSelected,
  5. Color? textColorOnDisabled,
  6. Color? textColorOnEnabled,
  7. Color? splashColor,
  8. Color? hoverColor,
  9. void onPressed(
    1. bool isButtonDisabled,
    2. DateTime selectedYear
    )?,
  10. bool shrinkOnButtonPressed = true,
})

constructor

Implementation

YearButtonCustomizer({
  this.borderColorOnSelected,
  this.borderColorOnDisabled,
  this.borderColorOnEnabled,
  this.textColorOnSelected,
  this.textColorOnDisabled,
  this.textColorOnEnabled,
  this.splashColor,
  this.hoverColor,
  this.onPressed,
  this.shrinkOnButtonPressed = true,
});