pressedBackgroundColor property

Color get pressedBackgroundColor

Implementation

Color get pressedBackgroundColor {
  switch (this) {
    case ContainedButtonColor.colorDefault:
      return ContainedButtonStyles.defaultPressedBackgroundColor;
    case ContainedButtonColor.brand:
      return ContainedButtonStyles.brandPressedBackgroundColor;
    case ContainedButtonColor.danger:
      return ContainedButtonStyles.dangerPressedBackgroundColor;
    case ContainedButtonColor.warning:
      return ContainedButtonStyles.warningPressedBackgroundColor;
    default:
      return ContainedButtonStyles.defaultPressedBackgroundColor;
  }
}