backgroundColor property

Color get backgroundColor

Implementation

Color get backgroundColor {
  switch (this) {
    case ContainedButtonColor.colorDefault:
      return ContainedButtonStyles.defaultBackgroundColor;
    case ContainedButtonColor.brand:
      return ContainedButtonStyles.brandBackgroundColor;
    case ContainedButtonColor.danger:
      return ContainedButtonStyles.dangerBackgroundColor;
    case ContainedButtonColor.warning:
      return ContainedButtonStyles.warningBackgroundColor;
    default:
      return ContainedButtonStyles.defaultBackgroundColor;
  }
}