pressedColor property
Color
get
pressedColor
Implementation
Color get pressedColor {
switch (this) {
case ContainedButtonColor.colorDefault:
return ContainedButtonStyles.defaultPressedColor;
case ContainedButtonColor.brand:
return ContainedButtonStyles.brandPressedColor;
case ContainedButtonColor.danger:
return ContainedButtonStyles.dangerPressedColor;
case ContainedButtonColor.warning:
return ContainedButtonStyles.warningPressedColor;
default:
return ContainedButtonStyles.defaultPressedColor;
}
}